<!doctype html>
<html lang="ru" data-bs-theme="dark">

<head>
    <!-- 2024-05-11 14:17:30 -->
        <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>git push</title>
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/css/bootstrap.min.css" integrity="sha512-jnSuA4Ss2PkkikSOLtYs8BlYIeeIK1h99ty4YfvRPAlzr377vr3CXDb7sb7eEEBYjDtcYj+AjBH3FLv5uSJuXg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.11.3/font/bootstrap-icons.min.css" integrity="sha512-dPXYcDub/aeb08c63jRq/k6GaKccl256JQy/AnOq7CAnEZ9FzSL9wSbcZkMp4R26vBsMLFYH4kQ67/bbV8XaCQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/github-dark.min.css" integrity="sha512-rO+olRTkcf304DQBxSWxln8JXCzTHlKnIdnMUwYvQa9/Jd4cQaNkItIUj6Z4nvW1dqK0SKXLbn9h4KwZTNtAyw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/7.1.0/css/flag-icons.min.css" integrity="sha512-bZBu2H0+FGFz/stDN/L0k8J0G8qVsAL0ht1qg5kTwtAheiXwiRKyCq1frwfbSFSJN3jooR5kauE0YjtPzhZtJQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link href="../../../runebook.css" rel="stylesheet" type="text/css">
    <meta name="x-github" content="https://github.com/runebookdev/runebook">
            <meta name="x-i18n-doc" content="git">
        <script>
        function i18n(element) {
            // NOP
        }
    </script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/js-cookie/3.0.5/js.cookie.js" integrity="sha512-F/dia2jKME12jwqiYDayeD+Rr/8jTWUD2wfbuJB0bzSwenSEnXsn4qQ/wVyXUCix5bmCAj8xJdtFr2OqUtjLAw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" integrity="sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/js/bootstrap.bundle.min.js" integrity="sha512-7Pi/otdlbbCR+LnW+F7PwFcSDJOuUJB3OxtEHbg4vSMvzvJjde4Po1v4BR9Gdc9aXNUNFVUY+SK51wWT8WF0Gg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/rxjs/7.8.1/rxjs.umd.min.js" integrity="sha512-D9LDs8YUUVa4V9Gl4Zb+xqRAc7RCzooR3+zzebgK2RMu/KU+dh90pbjEEMzPiSyRSGbSp9j1pZnrO4joGa5WEg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/jquery.mark.min.js" integrity="sha512-mhbv5DqBMgrWL+32MmsDOt/OAvqr/cHimk6B8y/bx/xS88MVkYGPiVv2ixKVrkywF2qHplNRUvFsAHUdxZ3Krg==" crossorigin="anonymous"></script>
    <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6424571640879890" crossorigin="anonymous"></script>    <script async src="https://www.googletagmanager.com/gtag/js?id=G-3G5BZ1QEDP"></script>
<script>
    window.dataLayer = window.dataLayer || [];

    function gtag() {
        dataLayer.push(arguments);
    }

    gtag('js', new Date());
    gtag('config', 'G-3G5BZ1QEDP');
</script>    <script>
(function(c, l, a, r, i, t, y) {
    c[a] = c[a] || function() {
        (c[a].q = c[a].q || []).push(arguments)
    };
    t = l.createElement(r);
    t.async = 1;
    t.src = "https://www.clarity.ms/tag/" + i + "?ref=bwt";
    y = l.getElementsByTagName(r)[0];
    y.parentNode.insertBefore(t, y);
})(window, document, "clarity", "script", "jto2hd94r9");
</script>    <script src="../../../theme.js"></script>
</head>

<body>
    <header class="bg-black">
        <div class="container">
            <div class="row">
                <div class="col">
                    <nav class="navbar navbar-expand-lg navbar-dark">
                        <a class="navbar-brand fw-bold" href="https://runebook.dev/ru">
                            <img alt="Runebook.dev" class="d-inline-block align-top mr-1" src="../../../assets/runebook_logo.webp" width="24" height="24">
                            Runebook.dev
                        </a>
                        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
                            <span class="navbar-toggler-icon"></span>
                        </button>
                        <div class="collapse navbar-collapse" id="navbarSupportedContent">
                            <ul class="navbar-nav me-auto mb-2 mb-lg-0">
                                <li class="nav-item">
                                    <a class="nav-link" href="https://runebook.dev/ru#docs">Documentation</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="https://runebook.dev/contributors">Contributors</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="https://github.com/runebookdev/runebook/issues">GitHub</a>
                                </li>
                            </ul>
                                                                                                <button class="btn btn-success ms-2" id="showPopupButton">
                                        <i class="bi bi-translate"></i>
                                        Show English
                                    </button>
                                                                                        <div class="form-check form-switch ms-3">
                                <label class="text-light">
                                    <input class="form-check-input" type="checkbox" role="switch" id="theme-switch" checked>
                                    <i class="bi bi-moon-stars-fill"></i>
                                </label>
                            </div>
                        </div>
                    </nav>
                </div>
            </div>
        </div>
    </header>

    <!--sse-->
    <div class="container">
    <div class="row">
        <div class="col">
            <nav aria-label="breadcrumb" class="mt-2">
                <ol class="breadcrumb mb-1">
                    <li class="breadcrumb-item">
                        <a href="https://runebook.dev/ru#docs">
                            <span class="fi fi-ru"></span>                            Русский                        </a>
                    </li>
                    <li class="breadcrumb-item">
                        <a href="-index-.html">
                            Git                            2.43                        </a>
                    </li>
                                            <li class="breadcrumb-item">
                            <a href="-index-.html#Sharing_and_Updating_Projects">
                                Sharing and Updating Projects                            </a>
                        </li>
                                    </ol>
            </nav>
        </div>
    </div>
    <br>

    <div class="row">
        <div class="col-md-9">
            <main>
                <article>

                    
                    <h1 class="text-body-emphasis" ><span data-i18n="c1566b04acbd055c5e8a0ababeafc13c7e0ea03c8226aa13bb7890fe5cb907a5/44" data-source="git-push" onmousemove="i18n(this)">git-push</span></h1> <h2 class="text-body-emphasis"  id="_name"><span data-i18n="dcd1d5223f73b3a965c07e3ff5dbee3eedcfedb806686a05b9b3868a2c3d6d50/3a" data-source="Name" onmousemove="i18n(this)">Name</span></h2> <div> <p><span data-i18n="3773099c79bd7ecd1c08544ea528591eb433f389d6c9e841f22a3a4291965dfa/93" data-source="git-push - Update remote refs along with associated objects" onmousemove="i18n(this)">git-push &mdash; &ocy;&bcy;&ncy;&ocy;&vcy;&icy;&tcy;&softcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ycy;&iecy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &vcy;&mcy;&iecy;&scy;&tcy;&iecy; &scy;&ocy; &scy;&vcy;&yacy;&zcy;&acy;&ncy;&ncy;&ycy;&mcy;&icy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&acy;&mcy;&icy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_synopsis"><span data-i18n="8eb3755381519d7f0479d75446e56e20084834c0460d7ec94926932372ea6c47/0d" data-source="Synopsis" onmousemove="i18n(this)">Synopsis</span></h2> <div> <div> <pre class="hljs language-perl" data-highlighted="yes">git <span class="hljs-keyword">push</span> [--all | --branches | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-<span class="hljs-keyword">pack</span>=&lt;git-receive-<span class="hljs-keyword">pack</span>&gt;]
           [--repo=&lt;repository&gt;] [-f | --force] [-d | --<span class="hljs-keyword">delete</span>] [--prune] [-<span class="hljs-string">q | --quiet] [-v |</span> --verbose]
           [-u | --set-upstream] [-o &lt;string&gt; | --<span class="hljs-keyword">push</span>-option=&lt;string&gt;]
           [--[<span class="hljs-keyword">no</span>-]signed|--signed=(true|false|<span class="hljs-keyword">if</span>-asked)]
           [--force-with-lease[=&lt;refname&gt;[:&lt;expect&gt;]] [--force-<span class="hljs-keyword">if</span>-includes]]
           [--<span class="hljs-keyword">no</span>-verify] [&lt;repository&gt; [&lt;refspec&gt;&hellip;&ZeroWidthSpace;]]</pre> </div> </div> <h2 class="text-body-emphasis"  id="_description"><span data-i18n="526e0087cc3f254d9f86f6c7d8e23d954c4dfda2b312efc29194ae8a860106ba/d3" data-source="Description" onmousemove="i18n(this)">Description</span></h2> <div> <p><span data-i18n="ce3621d88a410b0cc2d9964d33edefb988ff8e26d9432cbf4c70bf58c459cc80/4d" data-source="Updates remote refs using local refs, while sending objects necessary to complete the given refs." onmousemove="i18n(this)">&Ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&iecy;&tcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ycy;&iecy; &scy;&scy;&ycy;&lcy;&kcy;&icy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yacy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ycy;&iecy; &scy;&scy;&ycy;&lcy;&kcy;&icy;, &pcy;&rcy;&icy; &ecy;&tcy;&ocy;&mcy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&yacy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ycy;, &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ycy;&iecy; &dcy;&lcy;&yacy; &zcy;&acy;&vcy;&iecy;&rcy;&shcy;&iecy;&ncy;&icy;&yacy; &dcy;&acy;&ncy;&ncy;&ycy;&khcy; &scy;&scy;&ycy;&lcy;&ocy;&kcy;.</span></p> <p><span data-i18n="a98860b74671ba16457aee3b03117ccd8e0144bbb3bc9b2e008fe61cf9144bf0/dd" data-source="You can make interesting things happen to a repository every time you push into it, by setting up &lt;code&gt;hooks&lt;/code&gt; there. See documentation for &lt;a href=&quot;git-receive-pack&quot;&gt;git-receive-pack[1]&lt;/a&gt;." onmousemove="i18n(this)">&Vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &dcy;&iecy;&lcy;&acy;&tcy;&softcy; &icy;&ncy;&tcy;&iecy;&rcy;&iecy;&scy;&ncy;&ycy;&iecy; &vcy;&iecy;&shchcy;&icy; &scy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&iecy;&mcy; &kcy;&acy;&zhcy;&dcy;&ycy;&jcy; &rcy;&acy;&zcy;, &kcy;&ocy;&gcy;&dcy;&acy; &vcy;&ycy; &vcy; &ncy;&iecy;&gcy;&ocy; &zcy;&acy;&khcy;&ocy;&dcy;&icy;&tcy;&iecy;, &ncy;&acy;&scy;&tcy;&rcy;&ocy;&icy;&vcy; &tcy;&acy;&mcy;  <code>hooks</code> . &Scy;&mcy;. &dcy;&ocy;&kcy;&ucy;&mcy;&iecy;&ncy;&tcy;&acy;&tscy;&icy;&yucy; &dcy;&lcy;&yacy;  <a href="git-receive-pack.html">git-receive-pack[1]</a> .</span></p> <p><span data-i18n="4a1118729db83096e96500395d99a0e2e56111af4e941c84a0714ec763c9ac4c/1b" data-source="When the command line does not specify where to push with the &lt;code&gt;&amp;lt;repository&amp;gt;&lt;/code&gt; argument, &lt;code&gt;branch.*.remote&lt;/code&gt; configuration for the current branch is consulted to determine where to push. If the configuration is missing, it defaults to &lt;code&gt;origin&lt;/code&gt;." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &vcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&iecy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ocy;, &kcy;&ucy;&dcy;&acy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&tcy;&softcy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &acy;&rcy;&gcy;&ucy;&mcy;&iecy;&ncy;&tcy;&acy;  <code>&lt;repository&gt;</code> , &dcy;&lcy;&yacy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&icy;&yacy; &tcy;&ocy;&gcy;&ocy;, &kcy;&ucy;&dcy;&acy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&tcy;&softcy;, &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&yacy;&iecy;&tcy;&scy;&yacy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&yacy;  <code>branch.*.remote</code>  &dcy;&lcy;&yacy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy;. &IEcy;&scy;&lcy;&icy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&yacy; &ocy;&tcy;&scy;&ucy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy;, &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy;  <code>origin</code> .</span></p> <p><span data-i18n="89f421ecc5fa03e498161223a59c4ce557be1f08c5850a52c6d4bace34167ad6/d9" data-source="When the command line does not specify what to push with &lt;code&gt;&amp;lt;refspec&amp;gt;...&lt;/code&gt; arguments or &lt;code&gt;--all&lt;/code&gt;, &lt;code&gt;--mirror&lt;/code&gt;, &lt;code&gt;--tags&lt;/code&gt; options, the command finds the default &lt;code&gt;&amp;lt;refspec&amp;gt;&lt;/code&gt; by consulting &lt;code&gt;remote.*.push&lt;/code&gt; configuration, and if it is not found, honors &lt;code&gt;push.default&lt;/code&gt; configuration to decide what to push (See &lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt; for the meaning of &lt;code&gt;push.default&lt;/code&gt;)." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &vcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&iecy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ocy;, &chcy;&tcy;&ocy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&tcy;&softcy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &acy;&rcy;&gcy;&ucy;&mcy;&iecy;&ncy;&tcy;&ocy;&vcy;  <code>&lt;refspec&gt;...</code>  &icy;&lcy;&icy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&ocy;&vcy;  <code>--all</code> ,  <code>--mirror</code> ,  <code>--tags</code> , &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy; &ncy;&acy;&khcy;&ocy;&dcy;&icy;&tcy;  <code>&lt;refspec&gt;</code>  &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;, &scy;&vcy;&iecy;&rcy;&yacy;&yacy;&scy;&softcy; &scy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&iecy;&jcy;  <code>remote.*.push</code> , &acy; &iecy;&scy;&lcy;&icy; &ocy;&ncy; &ncy;&iecy; &ncy;&acy;&jcy;&dcy;&iecy;&ncy;, &ucy;&chcy;&icy;&tcy;&ycy;&vcy;&acy;&iecy;&tcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&yucy;  <code>push.default</code> , &chcy;&tcy;&ocy;&bcy;&ycy; &rcy;&iecy;&shcy;&icy;&tcy;&softcy;, &chcy;&tcy;&ocy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&icy;&tcy;&softcy; (&scy;&mcy;.  <a href="git-config.html">git-config[1]</a> ). &dcy;&lcy;&yacy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy;  <code>push.default</code> ).</span></p> <p><span data-i18n="aef420d13f07270df2e3c40907a54ceac1ac365a45efa4d34040b8f213f983e2/62" data-source="When neither the command-line nor the configuration specifies what to push, the default behavior is used, which corresponds to the &lt;code&gt;simple&lt;/code&gt; value for &lt;code&gt;push.default&lt;/code&gt;: the current branch is pushed to the corresponding upstream branch, but as a safety measure, the push is aborted if the upstream branch does not have the same name as the local one." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &ncy;&icy; &vcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&iecy;, &ncy;&icy; &vcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ocy;, &chcy;&tcy;&ocy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&tcy;&softcy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &pcy;&ocy;&vcy;&iecy;&dcy;&iecy;&ncy;&icy;&iecy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&iecy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yucy;  <code>simple</code>  &dcy;&lcy;&yacy;  <code>push.default</code> : &tcy;&iecy;&kcy;&ucy;&shchcy;&acy;&yacy; &vcy;&iecy;&tcy;&vcy;&softcy; &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&iecy;&tcy;&scy;&yacy; &vcy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&ucy;&yucy; &vcy;&ycy;&shcy;&iecy;&scy;&tcy;&ocy;&yacy;&shchcy;&ucy;&yucy; &vcy;&iecy;&tcy;&vcy;&softcy;, &ncy;&ocy; &vcy; &tscy;&iecy;&lcy;&yacy;&khcy; &bcy;&iecy;&zcy;&ocy;&pcy;&acy;&scy;&ncy;&ocy;&scy;&tcy;&icy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&acy; &pcy;&rcy;&iecy;&rcy;&ycy;&vcy;&acy;&iecy;&tcy;&scy;&yacy;. &iecy;&scy;&lcy;&icy; &vcy;&ycy;&shcy;&iecy;&scy;&tcy;&ocy;&yacy;&shchcy;&acy;&yacy; &vcy;&iecy;&tcy;&vcy;&softcy; &ncy;&iecy; &icy;&mcy;&iecy;&iecy;&tcy; &tcy;&ocy;&gcy;&ocy; &zhcy;&iecy; &icy;&mcy;&iecy;&ncy;&icy;, &chcy;&tcy;&ocy; &icy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&acy;&yacy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_options"><span data-i18n="d0db8b5e364b6989e4b8f38a2b3846b87d99a51c1592ebf35d21cc66405a8e39/b6" data-source="Options" onmousemove="i18n(this)">Options</span></h2> <div> <div> <dl> <dt id="Documentation/git-push.txt-ltrepositorygt"><span data-i18n="33156ec69ef42f138c866bfb62145584bca1d9dd862e78b81cbaf77f8240c70e/6f" data-source="&amp;lt;repository&amp;gt;" onmousemove="i18n(this)">&lt;repository&gt;</span></dt> <dd> <p><span data-i18n="876dce8d327a5ecde168005d979117f7bb029dc12e75b1f59abd3e34c58f802f/e6" data-source="The &amp;quot;remote&amp;quot; repository that is the destination of a push operation. This parameter can be either a URL (see the section &lt;a href=&quot;#URLS&quot;&gt;GIT URLS&lt;/a&gt; below) or the name of a remote (see the section &lt;a href=&quot;#REMOTES&quot;&gt;REMOTES&lt;/a&gt; below)." onmousemove="i18n(this)">&Rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;  &quot;remote&quot; , &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &mcy;&iecy;&scy;&tcy;&ocy;&mcy; &ncy;&acy;&zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy; &ocy;&pcy;&iecy;&rcy;&acy;&tscy;&icy;&icy; push. &Ecy;&tcy;&ocy;&tcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy; &mcy;&ocy;&zhcy;&iecy;&tcy; &bcy;&ycy;&tcy;&softcy; &lcy;&icy;&bcy;&ocy; URL-&acy;&dcy;&rcy;&iecy;&scy;&ocy;&mcy; (&scy;&mcy;. &rcy;&acy;&zcy;&dcy;&iecy;&lcy;  <a href="git-push.html#URLS">GIT URLS</a>  &ncy;&icy;&zhcy;&iecy;), &lcy;&icy;&bcy;&ocy; &icy;&mcy;&iecy;&ncy;&iecy;&mcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &ucy;&scy;&tcy;&rcy;&ocy;&jcy;&scy;&tcy;&vcy;&acy; (&scy;&mcy;. &rcy;&acy;&zcy;&dcy;&iecy;&lcy;  <a href="git-push.html#REMOTES">REMOTES</a>  &ncy;&icy;&zhcy;&iecy;).</span></p> </dd> <dt id="Documentation/git-push.txt-ltrefspecgt82308203"><span data-i18n="cf1eb9e85f9d061aef2bc5069f458e5a1e3f4653eb37a6d8958c11ea5cea2120/a2" data-source="&amp;lt;refspec&amp;gt;&amp;hellip;" onmousemove="i18n(this)">&lt;refspec&gt;&hellip;</span></dt> <dd> <p><span data-i18n="abf67b9020c3ed389d0957aefb047d9e373e08d1952b32a417ff9f0661fa691f/97" data-source="Specify what destination ref to update with what source object. The format of a &amp;lt;refspec&amp;gt; parameter is an optional plus &lt;code&gt;+&lt;/code&gt;, followed by the source object &amp;lt;src&amp;gt;, followed by a colon &lt;code&gt;:&lt;/code&gt;, followed by the destination ref &amp;lt;dst&amp;gt;." onmousemove="i18n(this)">&Ucy;&kcy;&acy;&zhcy;&icy;&tcy;&iecy;, &kcy;&acy;&kcy;&ucy;&yucy; &scy;&scy;&ycy;&lcy;&kcy;&ucy; &ncy;&acy;&zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ocy; &ocy;&bcy;&ncy;&ocy;&vcy;&icy;&tcy;&softcy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &kcy;&acy;&kcy;&ocy;&gcy;&ocy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ocy;&gcy;&ocy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&acy;. &Fcy;&ocy;&rcy;&mcy;&acy;&tcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&acy; &lt;refspec&gt; &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &ncy;&iecy;&ocy;&bcy;&yacy;&zcy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&ycy;&mcy;, &pcy;&lcy;&yucy;&scy;  <code>+</code> , &zcy;&acy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&mcy; &scy;&lcy;&iecy;&dcy;&ucy;&iecy;&tcy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ycy;&jcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy; &lt;src&gt;, &zcy;&acy;&tcy;&iecy;&mcy; &dcy;&vcy;&ocy;&iecy;&tcy;&ocy;&chcy;&icy;&iecy;  <code>:</code> , &zcy;&acy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&mcy; &scy;&lcy;&iecy;&dcy;&ucy;&iecy;&tcy; &scy;&scy;&ycy;&lcy;&kcy;&acy; &ncy;&acy;&zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy; &lt;dst&gt;.</span></p> <p><span data-i18n="50fd7ace57cc4925ed9187d4202b31c94bacad6b7295ccc5bc18915e9491d045/c3" data-source="The &amp;lt;src&amp;gt; is often the name of the branch you would want to push, but it can be any arbitrary &amp;quot;SHA-1 expression&amp;quot;, such as &lt;code&gt;master~4&lt;/code&gt; or &lt;code&gt;HEAD&lt;/code&gt; (see &lt;a href=&quot;gitrevisions&quot;&gt;gitrevisions[7]&lt;/a&gt;)." onmousemove="i18n(this)">&lt;src&gt; &chcy;&acy;&scy;&tcy;&ocy; &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &icy;&mcy;&iecy;&ncy;&iecy;&mcy; &vcy;&iecy;&tcy;&kcy;&icy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ucy;&yucy; &vcy;&ycy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&icy;&tcy;&softcy;, &ncy;&ocy; &ecy;&tcy;&ocy; &mcy;&ocy;&zhcy;&iecy;&tcy; &bcy;&ycy;&tcy;&softcy; &lcy;&yucy;&bcy;&ocy;&jcy; &pcy;&rcy;&ocy;&icy;&zcy;&vcy;&ocy;&lcy;&softcy;&ncy;&ycy;&jcy;  &quot;SHA-1 expression&quot; , &ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;  <code>master~4</code>  &icy;&lcy;&icy;  <code>HEAD</code>  (&scy;&mcy;.  <a href="gitrevisions.html">gitrevisions[7]</a> ).</span></p> <p><span data-i18n="78d898007dc28de0671d58e8dcac7df0d449fc3fbb0344f81b630ffb2c9b9210/fe" data-source="The &amp;lt;dst&amp;gt; tells which ref on the remote side is updated with this push. Arbitrary expressions cannot be used here, an actual ref must be named. If &lt;code&gt;git push [&amp;lt;repository&amp;gt;]&lt;/code&gt; without any &lt;code&gt;&amp;lt;refspec&amp;gt;&lt;/code&gt; argument is set to update some ref at the destination with &lt;code&gt;&amp;lt;src&amp;gt;&lt;/code&gt; with &lt;code&gt;remote.&amp;lt;repository&amp;gt;.push&lt;/code&gt; configuration variable, &lt;code&gt;:&amp;lt;dst&amp;gt;&lt;/code&gt; part can be omitted&amp;mdash;&amp;ZeroWidthSpace;such a push will update a ref that &lt;code&gt;&amp;lt;src&amp;gt;&lt;/code&gt; normally updates without any &lt;code&gt;&amp;lt;refspec&amp;gt;&lt;/code&gt; on the command line. Otherwise, missing &lt;code&gt;:&amp;lt;dst&amp;gt;&lt;/code&gt; means to update the same ref as the &lt;code&gt;&amp;lt;src&amp;gt;&lt;/code&gt;." onmousemove="i18n(this)">&lt;dst&gt; &scy;&ocy;&ocy;&bcy;&shchcy;&acy;&iecy;&tcy;, &kcy;&acy;&kcy;&acy;&yacy; &scy;&scy;&ycy;&lcy;&kcy;&acy; &ncy;&acy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&jcy; &scy;&tcy;&ocy;&rcy;&ocy;&ncy;&iecy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &pcy;&rcy;&icy; &ecy;&tcy;&ocy;&mcy; &ncy;&acy;&zhcy;&acy;&tcy;&icy;&icy;. &Zcy;&dcy;&iecy;&scy;&softcy; &ncy;&iecy;&lcy;&softcy;&zcy;&yacy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &pcy;&rcy;&ocy;&icy;&zcy;&vcy;&ocy;&lcy;&softcy;&ncy;&ycy;&iecy; &vcy;&ycy;&rcy;&acy;&zhcy;&iecy;&ncy;&icy;&yacy;, &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ocy; &ucy;&kcy;&acy;&zcy;&acy;&tcy;&softcy; &fcy;&acy;&kcy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&ucy;&yucy; &scy;&scy;&ycy;&lcy;&kcy;&ucy;. &IEcy;&scy;&lcy;&icy;  <code>git push [&lt;repository&gt;]</code>  &bcy;&iecy;&zcy; &kcy;&acy;&kcy;&ocy;&gcy;&ocy;-&lcy;&icy;&bcy;&ocy; &acy;&rcy;&gcy;&ucy;&mcy;&iecy;&ncy;&tcy;&acy;  <code>&lt;refspec&gt;</code>  &ncy;&acy;&scy;&tcy;&rcy;&ocy;&iecy;&ncy; &ncy;&acy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy; &ncy;&iecy;&kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&jcy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &vcy; &pcy;&ucy;&ncy;&kcy;&tcy;&iecy; &ncy;&acy;&zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy;  <code>&lt;src&gt;</code>  &scy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&ocy;&ncy;&ncy;&ocy;&jcy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&jcy;  <code>remote.&lt;repository&gt;.push</code> , &chcy;&acy;&scy;&tcy;&softcy;  <code>:&lt;dst&gt;</code>  &mcy;&ocy;&zhcy;&ncy;&ocy; &ocy;&pcy;&ucy;&scy;&tcy;&icy;&tcy;&softcy; &mdash; &tcy;&acy;&kcy;&ocy;&iecy; &ncy;&acy;&zhcy;&acy;&tcy;&icy;&iecy; &ocy;&bcy;&ncy;&ocy;&vcy;&icy;&tcy; &scy;&scy;&ycy;&lcy;&kcy;&ucy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ucy;&yucy;  <code>&lt;src&gt;</code>  &ocy;&bcy;&ycy;&chcy;&ncy;&ocy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&iecy;&tcy; &bcy;&iecy;&zcy;  <code>&lt;refspec&gt;</code>  &vcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&iecy;. &Vcy; &pcy;&rcy;&ocy;&tcy;&icy;&vcy;&ncy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &ocy;&tcy;&scy;&ucy;&tcy;&scy;&tcy;&vcy;&icy;&iecy;  <code>:&lt;dst&gt;</code>  &ocy;&zcy;&ncy;&acy;&chcy;&acy;&iecy;&tcy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy; &tcy;&ocy;&jcy; &zhcy;&iecy; &scy;&scy;&ycy;&lcy;&kcy;&icy;, &chcy;&tcy;&ocy; &icy;  <code>&lt;src&gt;</code> .</span></p> <p><span data-i18n="efbadb8f672ab3ff74677d66296752680fc653c2f13d2cc7b2d4064dd9aabaf4/a9" data-source="If &amp;lt;dst&amp;gt; doesn&amp;rsquo;t start with &lt;code&gt;refs/&lt;/code&gt; (e.g. &lt;code&gt;refs/heads/master&lt;/code&gt;) we will try to infer where in &lt;code&gt;refs/*&lt;/code&gt; on the destination &amp;lt;repository&amp;gt; it belongs based on the type of &amp;lt;src&amp;gt; being pushed and whether &amp;lt;dst&amp;gt; is ambiguous." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &lt;dst&gt; &ncy;&iecy; &ncy;&acy;&chcy;&icy;&ncy;&acy;&iecy;&tcy;&scy;&yacy; &scy;  <code>refs/</code>  (&ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;,  <code>refs/heads/master</code> ), &mcy;&ycy; &pcy;&ocy;&pcy;&ycy;&tcy;&acy;&iecy;&mcy;&scy;&yacy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&icy;&tcy;&softcy;, &kcy; &kcy;&acy;&kcy;&ocy;&mcy;&ucy; &mcy;&iecy;&scy;&tcy;&ucy; &vcy;  <code>refs/*</code>  &vcy; &tscy;&iecy;&lcy;&iecy;&vcy;&ocy;&mcy; &lt;&rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;&gt; &ocy;&ncy; &pcy;&rcy;&icy;&ncy;&acy;&dcy;&lcy;&iecy;&zhcy;&icy;&tcy;, &ncy;&acy; &ocy;&scy;&ncy;&ocy;&vcy;&iecy; &tcy;&icy;&pcy;&acy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&iecy;&mcy;&ocy;&gcy;&ocy; &lt;src&gt; &icy; &tcy;&ocy;&gcy;&ocy;, &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &lcy;&icy; &lt;dst&gt; &ncy;&iecy;&ocy;&dcy;&ncy;&ocy;&zcy;&ncy;&acy;&chcy;&ncy;&ycy;&mcy;.</span></p> <div> <div> <div> <ul> <li> <p><span data-i18n="f2dea5548dc1f483733ac74ba4a31dc31945daff39276ad8723e9c8a1adcc22e/b5" data-source="If &amp;lt;dst&amp;gt; unambiguously refers to a ref on the &amp;lt;repository&amp;gt; remote, then push to that ref." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &lt;dst&gt; &ocy;&dcy;&ncy;&ocy;&zcy;&ncy;&acy;&chcy;&ncy;&ocy; &scy;&scy;&ycy;&lcy;&acy;&iecy;&tcy;&scy;&yacy; &ncy;&acy; &scy;&scy;&ycy;&lcy;&kcy;&ucy; &ncy;&acy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&mcy; &khcy;&rcy;&acy;&ncy;&icy;&lcy;&icy;&shchcy;&iecy; &lt;repository&gt;, &ncy;&acy;&zhcy;&mcy;&icy;&tcy;&iecy; &ncy;&acy; &ecy;&tcy;&ucy; &scy;&scy;&ycy;&lcy;&kcy;&ucy;.</span></p> </li> <li> <p><span data-i18n="506b807e9684784f225bd982d8ee8cebe3822323544e7ca851d70e186b2a4be8/16" data-source="If &amp;lt;src&amp;gt; resolves to a ref starting with refs/heads/ or refs/tags/, then prepend that to &amp;lt;dst&amp;gt;." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &lt;src&gt; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&acy;&iecy;&tcy;&scy;&yacy; &vcy; &scy;&scy;&ycy;&lcy;&kcy;&ucy;, &ncy;&acy;&chcy;&icy;&ncy;&acy;&yucy;&shchcy;&ucy;&yucy;&scy;&yacy; &scy; refs/heads/ &icy;&lcy;&icy; refs/tags/, &dcy;&ocy;&bcy;&acy;&vcy;&softcy;&tcy;&iecy; &iecy;&iecy; &kcy; &lt;dst&gt;.</span></p> </li> <li> <p><span data-i18n="6850b9aa3b07da215021301b1a4cac1e66bc5fe2c93d8f06952619f7cc783e2e/83" data-source="Other ambiguity resolutions might be added in the future, but for now any other cases will error out with an error indicating what we tried, and depending on the &lt;code&gt;advice.pushUnqualifiedRefname&lt;/code&gt; configuration (see &lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt;) suggest what refs/ namespace you may have wanted to push to." onmousemove="i18n(this)">&Dcy;&rcy;&ucy;&gcy;&icy;&iecy; &scy;&pcy;&ocy;&scy;&ocy;&bcy;&ycy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&iecy;&ncy;&icy;&yacy; &ncy;&iecy;&ocy;&dcy;&ncy;&ocy;&zcy;&ncy;&acy;&chcy;&ncy;&ocy;&scy;&tcy;&icy; &mcy;&ocy;&gcy;&ucy;&tcy; &bcy;&ycy;&tcy;&softcy; &dcy;&ocy;&bcy;&acy;&vcy;&lcy;&iecy;&ncy;&ycy; &vcy; &bcy;&ucy;&dcy;&ucy;&shchcy;&iecy;&mcy;, &ncy;&ocy; &ncy;&acy; &dcy;&acy;&ncy;&ncy;&ycy;&jcy; &mcy;&ocy;&mcy;&iecy;&ncy;&tcy; &lcy;&yucy;&bcy;&ycy;&iecy; &dcy;&rcy;&ucy;&gcy;&icy;&iecy; &scy;&lcy;&ucy;&chcy;&acy;&icy; &bcy;&ucy;&dcy;&ucy;&tcy; &vcy;&ycy;&dcy;&acy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &scy; &ocy;&shcy;&icy;&bcy;&kcy;&ocy;&jcy;, &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&yucy;&shchcy;&iecy;&jcy;, &chcy;&tcy;&ocy; &mcy;&ycy; &pcy;&ycy;&tcy;&acy;&lcy;&icy;&scy;&softcy;, &icy; &vcy; &zcy;&acy;&vcy;&icy;&scy;&icy;&mcy;&ocy;&scy;&tcy;&icy; &ocy;&tcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>advice.pushUnqualifiedRefname</code>  (&scy;&mcy;.  <a href="git-config.html">git-config[1]</a>  ) &pcy;&ocy;&dcy;&scy;&kcy;&acy;&zhcy;&icy;&tcy;&iecy;, &kcy;&acy;&kcy;&icy;&iecy; &scy;&scy;&ycy;&lcy;&kcy;&icy;/&pcy;&rcy;&ocy;&scy;&tcy;&rcy;&acy;&ncy;&scy;&tcy;&vcy;&ocy; &icy;&mcy;&iecy;&ncy; &vcy;&ycy;, &vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy;, &khcy;&ocy;&tcy;&iecy;&lcy;&icy; &bcy;&ycy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&icy;&tcy;&softcy;.</span></p> </li> </ul> </div> </div> </div> <p><span data-i18n="2d4f08323e03f3b7c65737c2e4423241f39ce2cdc1c29b65deb516d1b5cccf16/c1" data-source="The object referenced by &amp;lt;src&amp;gt; is used to update the &amp;lt;dst&amp;gt; reference on the remote side. Whether this is allowed depends on where in &lt;code&gt;refs/*&lt;/code&gt; the &amp;lt;dst&amp;gt; reference lives as described in detail below, in those sections &amp;quot;update&amp;quot; means any modifications except deletes, which as noted after the next few sections are treated differently." onmousemove="i18n(this)">&Ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;, &ncy;&acy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &scy;&scy;&ycy;&lcy;&acy;&iecy;&tcy;&scy;&yacy; &lt;src&gt;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &dcy;&lcy;&yacy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &lt;dst&gt; &ncy;&acy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&jcy; &scy;&tcy;&ocy;&rcy;&ocy;&ncy;&iecy;. &Rcy;&acy;&zcy;&rcy;&iecy;&shcy;&iecy;&ncy;&ocy; &lcy;&icy; &ecy;&tcy;&ocy;, &zcy;&acy;&vcy;&icy;&scy;&icy;&tcy; &ocy;&tcy; &tcy;&ocy;&gcy;&ocy;, &gcy;&dcy;&iecy; &vcy;  <code>refs/*</code>  &ncy;&acy;&khcy;&ocy;&dcy;&icy;&tcy;&scy;&yacy; &scy;&scy;&ycy;&lcy;&kcy;&acy; &lt;dst&gt;, &kcy;&acy;&kcy; &pcy;&ocy;&dcy;&rcy;&ocy;&bcy;&ncy;&ocy; &ocy;&pcy;&icy;&scy;&acy;&ncy;&ocy; &ncy;&icy;&zhcy;&iecy;. &Vcy; &ecy;&tcy;&icy;&khcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&acy;&khcy;  &quot;update&quot;  &ocy;&zcy;&ncy;&acy;&chcy;&acy;&iecy;&tcy; &lcy;&yucy;&bcy;&ycy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;, &kcy;&rcy;&ocy;&mcy;&iecy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&icy;&jcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy;, &kcy;&acy;&kcy; &ocy;&tcy;&mcy;&iecy;&chcy;&iecy;&ncy;&ocy; &pcy;&ocy;&scy;&lcy;&iecy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&khcy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&icy;&khcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&ocy;&vcy;, &ocy;&bcy;&rcy;&acy;&bcy;&acy;&tcy;&ycy;&vcy;&acy;&yucy;&tcy;&scy;&yacy; &pcy;&ocy;-&rcy;&acy;&zcy;&ncy;&ocy;&mcy;&ucy;.</span></p> <p><span data-i18n="474a95056f01d2ce051c1b6341fe25b0d2cd65906e77e4cb660f16ca3042e49b/c2" data-source="The &lt;code&gt;refs/heads/*&lt;/code&gt; namespace will only accept commit objects, and updates only if they can be fast-forwarded." onmousemove="i18n(this)">&Pcy;&rcy;&ocy;&scy;&tcy;&rcy;&acy;&ncy;&scy;&tcy;&vcy;&ocy; &icy;&mcy;&iecy;&ncy;  <code>refs/heads/*</code>  &bcy;&ucy;&dcy;&iecy;&tcy; &pcy;&rcy;&icy;&ncy;&icy;&mcy;&acy;&tcy;&softcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ycy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; &icy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy;, &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &iecy;&scy;&lcy;&icy; &icy;&khcy; &mcy;&ocy;&zhcy;&ncy;&ocy; &pcy;&iecy;&rcy;&iecy;&scy;&ycy;&lcy;&acy;&tcy;&softcy; &vcy;&pcy;&iecy;&rcy;&iecy;&dcy;.</span></p> <p><span data-i18n="32674dd7ba791840341f233aa3e2b69ebcbc43a9b1c0cb7fa67b1a63bdb4861d/93" data-source="The &lt;code&gt;refs/tags/*&lt;/code&gt; namespace will accept any kind of object (as commits, trees and blobs can be tagged), and any updates to them will be rejected." onmousemove="i18n(this)">&Pcy;&rcy;&ocy;&scy;&tcy;&rcy;&acy;&ncy;&scy;&tcy;&vcy;&ocy; &icy;&mcy;&iecy;&ncy;  <code>refs/tags/*</code>  &pcy;&rcy;&icy;&ncy;&icy;&mcy;&acy;&iecy;&tcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ycy; &lcy;&yucy;&bcy;&ocy;&gcy;&ocy; &tcy;&icy;&pcy;&acy; (&pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy;, &dcy;&iecy;&rcy;&iecy;&vcy;&softcy;&yacy; &icy; BLOB-&ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ycy; &mcy;&ocy;&gcy;&ucy;&tcy; &bcy;&ycy;&tcy;&softcy; &pcy;&ocy;&mcy;&iecy;&chcy;&iecy;&ncy;&ycy; &tcy;&iecy;&gcy;&acy;&mcy;&icy;), &icy; &lcy;&yucy;&bcy;&ycy;&iecy; &icy;&khcy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &bcy;&ucy;&dcy;&ucy;&tcy; &ocy;&tcy;&kcy;&lcy;&ocy;&ncy;&iecy;&ncy;&ycy;.</span></p> <p><span data-i18n="af330b5af3fe1667e63d1e50de0a805a153867dd6581acdb519fbfd5eaceda0b/d6" data-source="It&amp;rsquo;s possible to push any type of object to any namespace outside of &lt;code&gt;refs/{tags,heads}/*&lt;/code&gt;. In the case of tags and commits, these will be treated as if they were the commits inside &lt;code&gt;refs/heads/*&lt;/code&gt; for the purposes of whether the update is allowed." onmousemove="i18n(this)">&Mcy;&ocy;&zhcy;&ncy;&ocy; &pcy;&ocy;&mcy;&iecy;&scy;&tcy;&icy;&tcy;&softcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy; &lcy;&yucy;&bcy;&ocy;&gcy;&ocy; &tcy;&icy;&pcy;&acy; &vcy; &lcy;&yucy;&bcy;&ocy;&iecy; &pcy;&rcy;&ocy;&scy;&tcy;&rcy;&acy;&ncy;&scy;&tcy;&vcy;&ocy; &icy;&mcy;&iecy;&ncy; &zcy;&acy; &pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&acy;&mcy;&icy;  <code>refs/{tags,heads}/*</code> . &Vcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &tcy;&iecy;&gcy;&ocy;&vcy; &icy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy; &ocy;&ncy;&icy; &bcy;&ucy;&dcy;&ucy;&tcy; &ocy;&bcy;&rcy;&acy;&bcy;&acy;&tcy;&ycy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &tcy;&acy;&kcy;, &kcy;&acy;&kcy; &iecy;&scy;&lcy;&icy; &bcy;&ycy; &ocy;&ncy;&icy; &bcy;&ycy;&lcy;&icy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;&mcy;&icy; &vcy;&ncy;&ucy;&tcy;&rcy;&icy;  <code>refs/heads/*</code> , &dcy;&lcy;&yacy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&icy;&yacy; &tcy;&ocy;&gcy;&ocy;, &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&iecy;&ncy;&ocy; &lcy;&icy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy;.</span></p> <p><span data-i18n="f7bd6d44dde3ecc6a8e324ee16afd41f75a7dfe59b8c30546b6c4dde5455af53/65" data-source="I.e. a fast-forward of commits and tags outside &lt;code&gt;refs/{tags,heads}/*&lt;/code&gt; is allowed, even in cases where what&amp;rsquo;s being fast-forwarded is not a commit, but a tag object which happens to point to a new commit which is a fast-forward of the commit the last tag (or commit) it&amp;rsquo;s replacing. Replacing a tag with an entirely different tag is also allowed, if it points to the same commit, as well as pushing a peeled tag, i.e. pushing the commit that existing tag object points to, or a new tag object which an existing commit points to." onmousemove="i18n(this)">&Tcy;.&iecy;. &bcy;&ycy;&scy;&tcy;&rcy;&acy;&yacy; &pcy;&iecy;&rcy;&iecy;&mcy;&ocy;&tcy;&kcy;&acy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy; &icy; &tcy;&iecy;&gcy;&ocy;&vcy; &zcy;&acy; &pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&ycy;  <code>refs/{tags,heads}/*</code>  &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&iecy;&ncy;&acy; &dcy;&acy;&zhcy;&iecy; &vcy; &tcy;&iecy;&khcy; &scy;&lcy;&ucy;&chcy;&acy;&yacy;&khcy;, &kcy;&ocy;&gcy;&dcy;&acy; &pcy;&iecy;&rcy;&iecy;&scy;&ycy;&lcy;&acy;&iecy;&tcy;&scy;&yacy; &ncy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;, &acy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy; &tcy;&iecy;&gcy;&acy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy; &ncy;&acy; &ncy;&ocy;&vcy;&ycy;&jcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &bcy;&ycy;&scy;&tcy;&rcy;&ocy;&jcy; &pcy;&iecy;&rcy;&iecy;&mcy;&ocy;&tcy;&kcy;&ocy;&jcy; &vcy;&pcy;&iecy;&rcy;&iecy;&dcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;. &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ncy;&icy;&jcy; &tcy;&iecy;&gcy; (&icy;&lcy;&icy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;), &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &ocy;&ncy; &zcy;&acy;&mcy;&iecy;&ncy;&yacy;&iecy;&tcy;. &Tcy;&acy;&kcy;&zhcy;&iecy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&iecy;&ncy;&acy; &zcy;&acy;&mcy;&iecy;&ncy;&acy; &tcy;&iecy;&gcy;&acy; &scy;&ocy;&vcy;&iecy;&rcy;&shcy;&iecy;&ncy;&ncy;&ocy; &dcy;&rcy;&ucy;&gcy;&icy;&mcy; &tcy;&iecy;&gcy;&ocy;&mcy;, &iecy;&scy;&lcy;&icy; &ocy;&ncy; &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy; &ncy;&acy; &tcy;&ocy;&tcy; &zhcy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;, &acy; &tcy;&acy;&kcy;&zhcy;&iecy; &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&chcy;&acy; &ocy;&chcy;&icy;&shchcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &tcy;&iecy;&gcy;&acy;, &tcy;. &iecy;. &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&chcy;&acy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy;, &ncy;&acy; &kcy;&ocy;&tcy;&ocy;&rcy;&ucy;&yucy; &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&jcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy; &tcy;&iecy;&gcy;&acy;, &icy;&lcy;&icy; &ncy;&ocy;&vcy;&ocy;&gcy;&ocy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&acy; &tcy;&iecy;&gcy;&acy;, &ncy;&acy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&acy;&yacy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&yacy;. .</span></p> <p><span data-i18n="610d670076ff2ee91876e598b36bd83407a4a3e04d9d8b6afb247b77f79edff1/3a" data-source="Tree and blob objects outside of &lt;code&gt;refs/{tags,heads}/*&lt;/code&gt; will be treated the same way as if they were inside &lt;code&gt;refs/tags/*&lt;/code&gt;, any update of them will be rejected." onmousemove="i18n(this)">&Ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ycy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy; &icy; &bcy;&ocy;&lcy;&softcy;&shcy;&icy;&khcy; &dcy;&vcy;&ocy;&icy;&chcy;&ncy;&ycy;&khcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ocy;&vcy; &zcy;&acy; &pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&acy;&mcy;&icy;  <code>refs/{tags,heads}/*</code>  &bcy;&ucy;&dcy;&ucy;&tcy; &ocy;&bcy;&rcy;&acy;&bcy;&acy;&tcy;&ycy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &tcy;&acy;&kcy; &zhcy;&iecy;, &kcy;&acy;&kcy; &iecy;&scy;&lcy;&icy; &bcy;&ycy; &ocy;&ncy;&icy; &ncy;&acy;&khcy;&ocy;&dcy;&icy;&lcy;&icy;&scy;&softcy; &vcy;&ncy;&ucy;&tcy;&rcy;&icy;  <code>refs/tags/*</code> , &lcy;&yucy;&bcy;&ocy;&iecy; &icy;&khcy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy; &bcy;&ucy;&dcy;&iecy;&tcy; &ocy;&tcy;&kcy;&lcy;&ocy;&ncy;&iecy;&ncy;&ocy;.</span></p> <p><span data-i18n="210b7d797a87305251ff65f3f2562c8d74a7c5ff065ada95f5a30bee6321a452/f2" data-source="All of the rules described above about what&amp;rsquo;s not allowed as an update can be overridden by adding an the optional leading &lt;code&gt;+&lt;/code&gt; to a refspec (or using &lt;code&gt;--force&lt;/code&gt; command line option). The only exception to this is that no amount of forcing will make the &lt;code&gt;refs/heads/*&lt;/code&gt; namespace accept a non-commit object. Hooks and configuration can also override or amend these rules, see e.g. &lt;code&gt;receive.denyNonFastForwards&lt;/code&gt; in &lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt; and &lt;code&gt;pre-receive&lt;/code&gt; and &lt;code&gt;update&lt;/code&gt; in &lt;a href=&quot;githooks&quot;&gt;githooks[5]&lt;/a&gt;." onmousemove="i18n(this)">&Vcy;&scy;&iecy; &ocy;&pcy;&icy;&scy;&acy;&ncy;&ncy;&ycy;&iecy; &vcy;&ycy;&shcy;&iecy; &pcy;&rcy;&acy;&vcy;&icy;&lcy;&acy; &ocy; &tcy;&ocy;&mcy;, &chcy;&tcy;&ocy; &ncy;&iecy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&iecy;&ncy;&ocy; &vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy;, &mcy;&ocy;&zhcy;&ncy;&ocy; &pcy;&iecy;&rcy;&iecy;&ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&icy;&tcy;&softcy;, &dcy;&ocy;&bcy;&acy;&vcy;&icy;&vcy; &ncy;&iecy;&ocy;&bcy;&yacy;&zcy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&ycy;&jcy; &vcy;&iecy;&dcy;&ucy;&shchcy;&icy;&jcy;  <code>+</code>  &vcy; refspec (&icy;&lcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yacy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&icy;  <code>--force</code> ). &IEcy;&dcy;&icy;&ncy;&scy;&tcy;&vcy;&iecy;&ncy;&ncy;&ycy;&mcy; &icy;&scy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&icy;&iecy;&mcy; &icy;&zcy; &ecy;&tcy;&ocy;&gcy;&ocy; &pcy;&rcy;&acy;&vcy;&icy;&lcy;&acy; &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &tcy;&ocy;, &chcy;&tcy;&ocy; &ncy;&icy;&kcy;&acy;&kcy;&icy;&iecy; &pcy;&rcy;&icy;&ncy;&ucy;&dcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ycy;&iecy; &dcy;&iecy;&jcy;&scy;&tcy;&vcy;&icy;&yacy; &ncy;&iecy; &zcy;&acy;&scy;&tcy;&acy;&vcy;&yacy;&tcy; &pcy;&rcy;&ocy;&scy;&tcy;&rcy;&acy;&ncy;&scy;&tcy;&vcy;&ocy; &icy;&mcy;&iecy;&ncy;  <code>refs/heads/*</code>  &pcy;&rcy;&icy;&ncy;&yacy;&tcy;&softcy; &ncy;&iecy;&fcy;&icy;&kcy;&scy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&jcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;. &Pcy;&iecy;&rcy;&iecy;&khcy;&vcy;&acy;&tcy;&chcy;&icy;&kcy;&icy; &icy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&yacy; &tcy;&acy;&kcy;&zhcy;&iecy; &mcy;&ocy;&gcy;&ucy;&tcy; &ocy;&tcy;&mcy;&iecy;&ncy;&yacy;&tcy;&softcy; &icy;&lcy;&icy; &icy;&zcy;&mcy;&iecy;&ncy;&yacy;&tcy;&softcy; &ecy;&tcy;&icy; &pcy;&rcy;&acy;&vcy;&icy;&lcy;&acy;, &scy;&mcy;., &ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;,  <code>receive.denyNonFastForwards</code>  &vcy;  <a href="git-config.html">git-config[1]</a>  &icy;  <code>pre-receive</code>  &icy;  <code>update</code>  &vcy;  <a href="githooks.html">githooks[5]</a> .</span></p> <p><span data-i18n="5ff99f5a3be694ee5f9eaf50b9e8dc540b5c0ca25f099cbf9d6e39ca7959f1eb/9d" data-source="Pushing an empty &amp;lt;src&amp;gt; allows you to delete the &amp;lt;dst&amp;gt; ref from the remote repository. Deletions are always accepted without a leading &lt;code&gt;+&lt;/code&gt; in the refspec (or &lt;code&gt;--force&lt;/code&gt;), except when forbidden by configuration or hooks. See &lt;code&gt;receive.denyDeletes&lt;/code&gt; in &lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt; and &lt;code&gt;pre-receive&lt;/code&gt; and &lt;code&gt;update&lt;/code&gt; in &lt;a href=&quot;githooks&quot;&gt;githooks[5]&lt;/a&gt;." onmousemove="i18n(this)">&Ncy;&acy;&zhcy;&acy;&tcy;&icy;&iecy; &pcy;&ucy;&scy;&tcy;&ocy;&gcy;&ocy; &lt;src&gt; &pcy;&ocy;&zcy;&vcy;&ocy;&lcy;&yacy;&iecy;&tcy; &ucy;&dcy;&acy;&lcy;&icy;&tcy;&softcy; &scy;&scy;&ycy;&lcy;&kcy;&ucy; &lt;dst&gt; &icy;&zcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;. &Ucy;&dcy;&acy;&lcy;&iecy;&ncy;&icy;&iecy; &vcy;&scy;&iecy;&gcy;&dcy;&acy; &dcy;&ocy;&pcy;&ucy;&scy;&kcy;&acy;&iecy;&tcy;&scy;&yacy; &bcy;&iecy;&zcy; &vcy;&iecy;&dcy;&ucy;&shchcy;&iecy;&gcy;&ocy;  <code>+</code>  &vcy; refspec (&icy;&lcy;&icy;  <code>--force</code>  ), &zcy;&acy; &icy;&scy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&icy;&iecy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy;&vcy;, &kcy;&ocy;&gcy;&dcy;&acy; &ecy;&tcy;&ocy; &zcy;&acy;&pcy;&rcy;&iecy;&shchcy;&iecy;&ncy;&ocy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&iecy;&jcy; &icy;&lcy;&icy; &pcy;&iecy;&rcy;&iecy;&khcy;&vcy;&acy;&tcy;&chcy;&icy;&kcy;&acy;&mcy;&icy;. &Scy;&mcy;.  <code>receive.denyDeletes</code>  &vcy;  <a href="git-config.html">git-config[1]</a>  &icy;  <code>pre-receive</code>  &icy;  <code>update</code>  &vcy;  <a href="githooks.html">githooks[5]</a> .</span></p> <p><span data-i18n="cdc12df7eb6140cb004f3a0d7f1fcf225679129fa57b5ad4fcf406db7ba2e5f2/22" data-source="The special refspec &lt;code&gt;:&lt;/code&gt; (or &lt;code&gt;+:&lt;/code&gt; to allow non-fast-forward updates) directs Git to push &amp;quot;matching&amp;quot; branches: for every branch that exists on the local side, the remote side is updated if a branch of the same name already exists on the remote side." onmousemove="i18n(this)">&Scy;&pcy;&iecy;&tscy;&icy;&acy;&lcy;&softcy;&ncy;&acy;&yacy; &scy;&scy;&ycy;&lcy;&kcy;&acy;  <code>:</code>  (&icy;&lcy;&icy;  <code>+:</code>  &dcy;&lcy;&yacy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&iecy;&ncy;&icy;&yacy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&jcy; &bcy;&iecy;&zcy; &pcy;&iecy;&rcy;&iecy;&mcy;&ocy;&tcy;&kcy;&icy; &vcy;&pcy;&iecy;&rcy;&iecy;&dcy;) &pcy;&rcy;&iecy;&dcy;&pcy;&icy;&scy;&ycy;&vcy;&acy;&iecy;&tcy;  Git  &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&tcy;&softcy; &vcy;&iecy;&tcy;&kcy;&icy;  &quot;matching&quot; : &dcy;&lcy;&yacy; &kcy;&acy;&zhcy;&dcy;&ocy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy;, &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&iecy;&jcy; &ncy;&acy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ocy;&jcy; &scy;&tcy;&ocy;&rcy;&ocy;&ncy;&iecy;, &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&acy;&yacy; &scy;&tcy;&ocy;&rcy;&ocy;&ncy;&acy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy;, &iecy;&scy;&lcy;&icy; &vcy;&iecy;&tcy;&kcy;&acy; &scy; &tcy;&acy;&kcy;&icy;&mcy; &zhcy;&iecy; &icy;&mcy;&iecy;&ncy;&iecy;&mcy; &ucy;&zhcy;&iecy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &ncy;&acy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&jcy; &scy;&tcy;&ocy;&rcy;&ocy;&ncy;&iecy;. &scy;&tcy;&ocy;&rcy;&ocy;&ncy;&acy;.</span></p> <p><span data-i18n="4a9859dbb6019a54c088d3ae7d97276397c674ea4cf9b0f30c35a91b0226398c/93" data-source="&lt;code&gt;tag &amp;lt;tag&amp;gt;&lt;/code&gt; means the same as &lt;code&gt;refs/tags/&amp;lt;tag&amp;gt;:refs/tags/&amp;lt;tag&amp;gt;&lt;/code&gt;." onmousemove="i18n(this)"><code>tag &lt;tag&gt;</code>  &ocy;&zcy;&ncy;&acy;&chcy;&acy;&iecy;&tcy; &tcy;&ocy; &zhcy;&iecy; &scy;&acy;&mcy;&ocy;&iecy;, &chcy;&tcy;&ocy; &icy;  <code>refs/tags/&lt;tag&gt;:refs/tags/&lt;tag&gt;</code> .</span></p> </dd> <dt id="Documentation/git-push.txt---all"><span data-i18n="7dbf56c38208e33a9193b210245465f7729af0d59b9df556e7f1f7138a6d6e93/a1" data-source="--all" onmousemove="i18n(this)">--all</span></dt> <dt id="Documentation/git-push.txt---branches"><span data-i18n="5a81b814bd7e4ec4662d415dece6c753a6b5f61135a3893065b784cda88a3f9b/d9" data-source="--branches" onmousemove="i18n(this)">--branches</span></dt> <dd> <p><span data-i18n="af03705f969bd8703f52f98b3d4658dd6654ec328e210be458ac64bf78b2ce78/1b" data-source="Push all branches (i.e. refs under &lt;code&gt;refs/heads/&lt;/code&gt;); cannot be used with other &amp;lt;refspec&amp;gt;." onmousemove="i18n(this)">&Ncy;&acy;&zhcy;&mcy;&icy;&tcy;&iecy; &vcy;&scy;&iecy; &vcy;&iecy;&tcy;&kcy;&icy; (&tcy;.&iecy;. &scy;&scy;&ycy;&lcy;&kcy;&icy; &pcy;&ocy;&dcy;  <code>refs/heads/</code> ); &ncy;&iecy;&lcy;&softcy;&zcy;&yacy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &scy; &dcy;&rcy;&ucy;&gcy;&icy;&mcy;&icy; &lt;refspec&gt;.</span></p> </dd> <dt id="Documentation/git-push.txt---prune"><span data-i18n="f0fa17d69b07b247c6d688bbd4f199b993292126a4400cf90778ae3449c5f5a3/a6" data-source="--prune" onmousemove="i18n(this)">--prune</span></dt> <dd> <p><span data-i18n="50529a5d94b4b98ddd743efac7ae3983a90f541ca3ed63058156c475cebd55b3/3f" data-source="Remove remote branches that don&amp;rsquo;t have a local counterpart. For example a remote branch &lt;code&gt;tmp&lt;/code&gt; will be removed if a local branch with the same name doesn&amp;rsquo;t exist any more. This also respects refspecs, e.g. &lt;code&gt;git push --prune remote refs/heads/*:refs/tmp/*&lt;/code&gt; would make sure that remote &lt;code&gt;refs/tmp/foo&lt;/code&gt; will be removed if &lt;code&gt;refs/heads/foo&lt;/code&gt; doesn&amp;rsquo;t exist." onmousemove="i18n(this)">&Ucy;&dcy;&acy;&lcy;&icy;&tcy;&iecy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ycy;&iecy; &vcy;&iecy;&tcy;&kcy;&icy;, &ucy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&khcy; &ncy;&iecy;&tcy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ocy;&gcy;&ocy; &acy;&ncy;&acy;&lcy;&ocy;&gcy;&acy;. &Ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&acy;&yacy; &vcy;&iecy;&tcy;&kcy;&acy;  <code>tmp</code>  &bcy;&ucy;&dcy;&iecy;&tcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&acy;, &iecy;&scy;&lcy;&icy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&acy;&yacy; &vcy;&iecy;&tcy;&kcy;&acy; &scy; &tcy;&acy;&kcy;&icy;&mcy; &zhcy;&iecy; &icy;&mcy;&iecy;&ncy;&iecy;&mcy; &bcy;&ocy;&lcy;&softcy;&shcy;&iecy; &ncy;&iecy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy;. &Ecy;&tcy;&ocy; &tcy;&acy;&kcy;&zhcy;&iecy; &ucy;&chcy;&icy;&tcy;&ycy;&vcy;&acy;&iecy;&tcy; &scy;&pcy;&iecy;&tscy;&icy;&fcy;&icy;&kcy;&acy;&tscy;&icy;&icy; &scy;&scy;&ycy;&lcy;&ocy;&kcy;, &ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;,  <code>git push --prune remote refs/heads/*:refs/tmp/*</code>  &gcy;&acy;&rcy;&acy;&ncy;&tcy;&icy;&rcy;&ucy;&iecy;&tcy;, &chcy;&tcy;&ocy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ycy;&jcy;  <code>refs/tmp/foo</code>  &bcy;&ucy;&dcy;&iecy;&tcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;, &iecy;&scy;&lcy;&icy;  <code>refs/heads/foo</code>  &ncy;&iecy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy;.</span></p> </dd> <dt id="Documentation/git-push.txt---mirror"><span data-i18n="b3cc6a50527e8f8a04e46679bbb85b8c05b6c92c45dfa4f06930089e62f9b384/5c" data-source="--mirror" onmousemove="i18n(this)">--mirror</span></dt> <dd> <p><span data-i18n="006e5503ca90c5536e60ac1e3f4d498dd4c3c54eec650c291433a7c1895df22e/93" data-source="Instead of naming each ref to push, specifies that all refs under &lt;code&gt;refs/&lt;/code&gt; (which includes but is not limited to &lt;code&gt;refs/heads/&lt;/code&gt;, &lt;code&gt;refs/remotes/&lt;/code&gt;, and &lt;code&gt;refs/tags/&lt;/code&gt;) be mirrored to the remote repository. Newly created local refs will be pushed to the remote end, locally updated refs will be force updated on the remote end, and deleted refs will be removed from the remote end. This is the default if the configuration option &lt;code&gt;remote.&amp;lt;remote&amp;gt;.mirror&lt;/code&gt; is set." onmousemove="i18n(this)">&Vcy;&mcy;&iecy;&scy;&tcy;&ocy; &pcy;&rcy;&icy;&scy;&vcy;&ocy;&iecy;&ncy;&icy;&yacy; &icy;&mcy;&iecy;&ncy;&icy; &kcy;&acy;&zhcy;&dcy;&ocy;&jcy; &scy;&scy;&ycy;&lcy;&kcy;&iecy; &dcy;&lcy;&yacy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy; &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy;, &chcy;&tcy;&ocy; &vcy;&scy;&iecy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &pcy;&ocy;&dcy;  <code>refs/</code>  (&vcy;&kcy;&lcy;&yucy;&chcy;&acy;&yacy;, &pcy;&ocy;&mcy;&icy;&mcy;&ocy; &pcy;&rcy;&ocy;&chcy;&iecy;&gcy;&ocy;,  <code>refs/heads/</code>  ,  <code>refs/remotes/</code>  &icy;  <code>refs/tags/</code>  ) &zcy;&iecy;&rcy;&kcy;&acy;&lcy;&icy;&rcy;&ucy;&yucy;&tcy;&scy;&yacy; &vcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ycy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;. &Vcy;&ncy;&ocy;&vcy;&softcy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&ncy;&ycy;&iecy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ycy;&iecy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &bcy;&ucy;&dcy;&ucy;&tcy; &pcy;&iecy;&rcy;&iecy;&ncy;&iecy;&scy;&iecy;&ncy;&ycy; &ncy;&acy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ycy;&jcy; &kcy;&ocy;&ncy;&iecy;&tscy;, &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ocy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ncy;&ycy;&iecy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &bcy;&ucy;&dcy;&ucy;&tcy; &pcy;&rcy;&icy;&ncy;&ucy;&dcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ycy; &ncy;&acy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&mcy; &kcy;&ocy;&ncy;&tscy;&iecy;, &acy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ycy;&iecy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &bcy;&ucy;&dcy;&ucy;&tcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ycy; &scy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &kcy;&ocy;&ncy;&tscy;&acy;. &Ecy;&tcy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;, &iecy;&scy;&lcy;&icy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&acy; &ZeroWidthSpace;&ZeroWidthSpace;&ocy;&pcy;&tscy;&icy;&yacy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>remote.&lt;remote&gt;.mirror</code> .</span></p> </dd> <dt id="Documentation/git-push.txt--n"><span data-i18n="5249f4fcc629efa0e6d6b2bf746b6c5de61611ce719ad61ac820fbe5c8cece66/28" data-source="-n" onmousemove="i18n(this)">-n</span></dt> <dt id="Documentation/git-push.txt---dry-run"><span data-i18n="675ca48430023bf861e914e0cf5bbe183efe84bd9d831affc574394bf4edc690/c1" data-source="--dry-run" onmousemove="i18n(this)">--dry-run</span></dt> <dd> <p><span data-i18n="db4a36a2f6f33b67bec62c0d6f95dc2bb9ba330ae374d15bff6982ff933c3bb0/20" data-source="Do everything except actually send the updates." onmousemove="i18n(this)">&Dcy;&iecy;&lcy;&acy;&jcy;&tcy;&iecy; &vcy;&scy;&iecy;, &kcy;&rcy;&ocy;&mcy;&iecy; &fcy;&acy;&kcy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&ocy;&jcy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&jcy;.</span></p> </dd> <dt id="Documentation/git-push.txt---porcelain"><span data-i18n="99995b429bdc79d181ef1433b732eb66d793543f436f1d4858e72e12b9aeb7ee/95" data-source="--porcelain" onmousemove="i18n(this)">--porcelain</span></dt> <dd> <p><span data-i18n="5c71aa8431e4607860e1193fcf039e1d4386019c68b5054bd52b01be9ea3124e/b1" data-source="Produce machine-readable output. The output status line for each ref will be tab-separated and sent to stdout instead of stderr. The full symbolic names of the refs will be given." onmousemove="i18n(this)">&Pcy;&rcy;&ocy;&icy;&zcy;&vcy;&ocy;&dcy;&icy;&tcy;&softcy; &mcy;&acy;&shcy;&icy;&ncy;&ocy;&chcy;&icy;&tcy;&acy;&iecy;&mcy;&ycy;&jcy; &vcy;&ycy;&vcy;&ocy;&dcy;. &Scy;&tcy;&rcy;&ocy;&kcy;&acy; &scy;&ocy;&scy;&tcy;&ocy;&yacy;&ncy;&icy;&yacy; &vcy;&ycy;&vcy;&ocy;&dcy;&acy; &dcy;&lcy;&yacy; &kcy;&acy;&zhcy;&dcy;&ocy;&jcy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &bcy;&ucy;&dcy;&iecy;&tcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;&ncy;&acy; &tcy;&acy;&bcy;&ucy;&lcy;&yacy;&tscy;&icy;&iecy;&jcy; &icy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&acy; &ZeroWidthSpace;&ZeroWidthSpace;&ncy;&acy; &scy;&tcy;&acy;&ncy;&dcy;&acy;&rcy;&tcy;&ncy;&ycy;&jcy; &vcy;&ycy;&vcy;&ocy;&dcy; &vcy;&mcy;&iecy;&scy;&tcy;&ocy; stderr. &Bcy;&ucy;&dcy;&ucy;&tcy; &dcy;&acy;&ncy;&ycy; &pcy;&ocy;&lcy;&ncy;&ycy;&iecy; &scy;&icy;&mcy;&vcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&kcy;&icy;&iecy; &icy;&mcy;&iecy;&ncy;&acy; &rcy;&iecy;&fcy;&iecy;&rcy;&acy;&lcy;&ocy;&vcy;.</span></p> </dd> <dt id="Documentation/git-push.txt--d"><span data-i18n="50e09407a18bedd64baf0b99825a8178d7446731615b85452ea6b99573469dcc/b1" data-source="-d" onmousemove="i18n(this)">-d</span></dt> <dt id="Documentation/git-push.txt---delete"><span data-i18n="c9c4fc4dd65bbbb4c4f46d1de6e0791dbff867bd9880040eb5fc4bf825f9c0e6/a0" data-source="--delete" onmousemove="i18n(this)">--delete</span></dt> <dd> <p><span data-i18n="6fa12fc95cb433a1eaf2a6eaced16595160c4dabcb3a0afa59f7903e1f822fd1/0d" data-source="All listed refs are deleted from the remote repository. This is the same as prefixing all refs with a colon." onmousemove="i18n(this)">&Vcy;&scy;&iecy; &pcy;&iecy;&rcy;&iecy;&chcy;&icy;&scy;&lcy;&iecy;&ncy;&ncy;&ycy;&iecy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &ucy;&dcy;&acy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy; &icy;&zcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;. &Ecy;&tcy;&ocy; &tcy;&ocy; &zhcy;&iecy; &scy;&acy;&mcy;&ocy;&iecy;, &chcy;&tcy;&ocy; &ncy;&acy;&chcy;&icy;&ncy;&acy;&tcy;&softcy; &vcy;&scy;&iecy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &scy; &dcy;&vcy;&ocy;&iecy;&tcy;&ocy;&chcy;&icy;&yacy;.</span></p> </dd> <dt id="Documentation/git-push.txt---tags"><span data-i18n="ca2ed6721d83f4f364916ec2259d24adfdba6b230be747d80ed87a4797650daf/8c" data-source="--tags" onmousemove="i18n(this)">--tags</span></dt> <dd> <p><span data-i18n="6bc086306b33febf93850bfe9231825c61fed21d488e17f78e46462caf091732/86" data-source="All refs under &lt;code&gt;refs/tags&lt;/code&gt; are pushed, in addition to refspecs explicitly listed on the command line." onmousemove="i18n(this)">&Pcy;&iecy;&rcy;&iecy;&dcy;&acy;&yucy;&tcy;&scy;&yacy; &vcy;&scy;&iecy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &pcy;&ocy;&dcy;  <code>refs/tags</code> , &vcy; &dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&icy;&iecy; &kcy; &scy;&pcy;&iecy;&tscy;&icy;&fcy;&icy;&kcy;&acy;&tscy;&icy;&yacy;&mcy; &scy;&scy;&ycy;&lcy;&ocy;&kcy;, &yacy;&vcy;&ncy;&ocy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ycy;&mcy; &vcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-push.txt---follow-tags"><span data-i18n="ad34e69f2f501ffe7a181676477988770f55553e7acd4975d87b883d28980a61/b7" data-source="--follow-tags" onmousemove="i18n(this)">--follow-tags</span></dt> <dd> <p><span data-i18n="b8e819f1e05c3750e4f5446424da2a0a3ccfb3bdab21da89291fc48a1ac42899/78" data-source="Push all the refs that would be pushed without this option, and also push annotated tags in &lt;code&gt;refs/tags&lt;/code&gt; that are missing from the remote but are pointing at commit-ish that are reachable from the refs being pushed. This can also be specified with configuration variable &lt;code&gt;push.followTags&lt;/code&gt;. For more information, see &lt;code&gt;push.followTags&lt;/code&gt; in &lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt;." onmousemove="i18n(this)">&Ocy;&tcy;&pcy;&rcy;&acy;&vcy;&softcy;&tcy;&iecy; &vcy;&scy;&iecy; &scy;&scy;&ycy;&lcy;&kcy;&icy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &bcy;&ycy;&lcy;&icy; &bcy;&ycy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&ycy; &bcy;&iecy;&zcy; &ecy;&tcy;&ocy;&jcy; &ocy;&pcy;&tscy;&icy;&icy;, &acy; &tcy;&acy;&kcy;&zhcy;&iecy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&softcy;&tcy;&iecy; &acy;&ncy;&ncy;&ocy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&iecy; &tcy;&iecy;&gcy;&icy; &vcy;  <code>refs/tags</code> , &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ocy;&tcy;&scy;&ucy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&tcy; &ncy;&acy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&mcy; &kcy;&ocy;&mcy;&pcy;&softcy;&yucy;&tcy;&iecy;&rcy;&iecy;, &ncy;&ocy; &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&yucy;&tcy; &ncy;&acy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&yucy;, &dcy;&ocy;&scy;&tcy;&ucy;&pcy;&ncy;&ucy;&yucy; &icy;&zcy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&iecy;&mcy;&ycy;&khcy; &scy;&scy;&ycy;&lcy;&ocy;&kcy;. &Ecy;&tcy;&ocy; &tcy;&acy;&kcy;&zhcy;&iecy; &mcy;&ocy;&zhcy;&ncy;&ocy; &ucy;&kcy;&acy;&zcy;&acy;&tcy;&softcy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&jcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>push.followTags</code> . &Dcy;&lcy;&yacy; &pcy;&ocy;&lcy;&ucy;&chcy;&iecy;&ncy;&icy;&yacy; &dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&jcy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&icy; &scy;&mcy;.  <code>push.followTags</code>  &vcy;  <a href="git-config.html">git-config[1]</a> .</span></p> </dd> <dt id="Documentation/git-push.txt---no-signed"><span data-i18n="1ce7f85a381762ac9e5cc4bd9c1541adaf4df512ae878ec50391129d6165fbc3/3f" data-source="--[no-]signed" onmousemove="i18n(this)">--[no-]signed</span></dt> <dt id="Documentation/git-push.txt---signedtruefalseif-asked"><span data-i18n="78eeaeccee38d2f2f931b21e09cb62461821cd9a91b530344571130059da4e81/60" data-source="--signed=(true|false|if-asked)" onmousemove="i18n(this)">--signed=(true|false|if-asked)</span></dt> <dd> <p><span data-i18n="cd30b0227d55eccaa771b75f03daecc01975d78d3fe6dea8a349d8d7bdc3be9b/9a" data-source="GPG-sign the push request to update refs on the receiving side, to allow it to be checked by the hooks and/or be logged. If &lt;code&gt;false&lt;/code&gt; or &lt;code&gt;--no-signed&lt;/code&gt;, no signing will be attempted. If &lt;code&gt;true&lt;/code&gt; or &lt;code&gt;--signed&lt;/code&gt;, the push will fail if the server does not support signed pushes. If set to &lt;code&gt;if-asked&lt;/code&gt;, sign if and only if the server supports signed pushes. The push will also fail if the actual call to &lt;code&gt;gpg --sign&lt;/code&gt; fails. See &lt;a href=&quot;git-receive-pack&quot;&gt;git-receive-pack[1]&lt;/a&gt; for the details on the receiving end." onmousemove="i18n(this)">&Pcy;&ocy;&dcy;&pcy;&icy;&shcy;&icy;&tcy;&iecy; GPG push-&zcy;&acy;&pcy;&rcy;&ocy;&scy; &dcy;&lcy;&yacy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &scy;&scy;&ycy;&lcy;&ocy;&kcy; &ncy;&acy; &pcy;&rcy;&icy;&ncy;&icy;&mcy;&acy;&yucy;&shchcy;&iecy;&jcy; &scy;&tcy;&ocy;&rcy;&ocy;&ncy;&iecy;, &chcy;&tcy;&ocy;&bcy;&ycy; &iecy;&gcy;&ocy; &mcy;&ocy;&zhcy;&ncy;&ocy; &bcy;&ycy;&lcy;&ocy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&icy;&tcy;&softcy; &pcy;&iecy;&rcy;&iecy;&khcy;&vcy;&acy;&tcy;&chcy;&icy;&kcy;&acy;&mcy;&icy; &icy;/&icy;&lcy;&icy; &zcy;&acy;&rcy;&iecy;&gcy;&icy;&scy;&tcy;&rcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy;. &IEcy;&scy;&lcy;&icy;  <code>false</code>  &icy;&lcy;&icy;  <code>--no-signed</code> , &pcy;&ocy;&pcy;&ycy;&tcy;&kcy;&acy; &pcy;&ocy;&dcy;&pcy;&icy;&scy;&icy; &ncy;&iecy; &bcy;&ucy;&dcy;&iecy;&tcy; &ocy;&scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&lcy;&yacy;&tcy;&softcy;&scy;&yacy;. &IEcy;&scy;&lcy;&icy;  <code>true</code>  &icy;&lcy;&icy;  <code>--signed</code>  , &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&chcy;&acy; &zcy;&acy;&vcy;&iecy;&rcy;&shcy;&icy;&tcy;&scy;&yacy; &ncy;&iecy;&ucy;&dcy;&acy;&chcy;&ncy;&ocy;, &iecy;&scy;&lcy;&icy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy; &ncy;&iecy; &pcy;&ocy;&dcy;&dcy;&iecy;&rcy;&zhcy;&icy;&vcy;&acy;&iecy;&tcy; &pcy;&ocy;&dcy;&pcy;&icy;&scy;&acy;&ncy;&ncy;&ycy;&iecy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy;. &IEcy;&scy;&lcy;&icy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;  <code>if-asked</code>  , &pcy;&ocy;&dcy;&pcy;&icy;&shcy;&icy;&tcy;&iecy; &tcy;&ocy;&gcy;&dcy;&acy; &icy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &tcy;&ocy;&gcy;&dcy;&acy;, &kcy;&ocy;&gcy;&dcy;&acy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy; &pcy;&ocy;&dcy;&dcy;&iecy;&rcy;&zhcy;&icy;&vcy;&acy;&iecy;&tcy; &pcy;&ocy;&dcy;&pcy;&icy;&scy;&acy;&ncy;&ncy;&ycy;&iecy; push-&ucy;&vcy;&iecy;&dcy;&ocy;&mcy;&lcy;&iecy;&ncy;&icy;&yacy;. &Ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&acy; &tcy;&acy;&kcy;&zhcy;&iecy; &zcy;&acy;&vcy;&iecy;&rcy;&shcy;&icy;&tcy;&scy;&yacy; &ncy;&iecy;&ucy;&dcy;&acy;&chcy;&ncy;&ocy;, &iecy;&scy;&lcy;&icy; &fcy;&acy;&kcy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy;&jcy; &vcy;&ycy;&zcy;&ocy;&vcy;  <code>gpg --sign</code>  &zcy;&acy;&vcy;&iecy;&rcy;&shcy;&icy;&tcy;&scy;&yacy; &ncy;&iecy;&ucy;&dcy;&acy;&chcy;&ncy;&ocy;. &Pcy;&ocy;&dcy;&rcy;&ocy;&bcy;&ncy;&ucy;&yucy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&yucy; &ocy; &pcy;&rcy;&icy;&ncy;&icy;&mcy;&acy;&yucy;&shchcy;&iecy;&jcy; &scy;&tcy;&ocy;&rcy;&ocy;&ncy;&iecy; &scy;&mcy;. &vcy;  <a href="git-receive-pack.html">git-receive-pack[1]</a> .</span></p> </dd> <dt id="Documentation/git-push.txt---no-atomic"><span data-i18n="c530ebbdc15ad8cc2a0aa4dacdee8471ab3901d300dbeda0f75cd4dc5b05f84e/a0" data-source="--[no-]atomic" onmousemove="i18n(this)">--[no-]atomic</span></dt> <dd> <p><span data-i18n="4304ce959b9f929d15e7ce707e4341da257c1e8ca0e7f0eccd3d2b17bbeca975/30" data-source="Use an atomic transaction on the remote side if available. Either all refs are updated, or on error, no refs are updated. If the server does not support atomic pushes the push will fail." onmousemove="i18n(this)">&Icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &acy;&tcy;&ocy;&mcy;&acy;&rcy;&ncy;&ucy;&yucy; &tcy;&rcy;&acy;&ncy;&zcy;&acy;&kcy;&tscy;&icy;&yucy; &ncy;&acy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&jcy; &scy;&tcy;&ocy;&rcy;&ocy;&ncy;&iecy;, &iecy;&scy;&lcy;&icy; &ocy;&ncy;&acy; &dcy;&ocy;&scy;&tcy;&ucy;&pcy;&ncy;&acy;. &Lcy;&icy;&bcy;&ocy; &vcy;&scy;&iecy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy;, &lcy;&icy;&bcy;&ocy; &vcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &ocy;&shcy;&icy;&bcy;&kcy;&icy; &ncy;&icy; &ocy;&dcy;&ncy;&acy; &scy;&scy;&ycy;&lcy;&kcy;&acy; &ncy;&iecy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy;. &IEcy;&scy;&lcy;&icy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy; &ncy;&iecy; &pcy;&ocy;&dcy;&dcy;&iecy;&rcy;&zhcy;&icy;&vcy;&acy;&iecy;&tcy; &acy;&tcy;&ocy;&mcy;&acy;&rcy;&ncy;&ycy;&iecy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy;, &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&chcy;&acy; &zcy;&acy;&vcy;&iecy;&rcy;&shcy;&icy;&tcy;&scy;&yacy; &ncy;&iecy;&ucy;&dcy;&acy;&chcy;&iecy;&jcy;.</span></p> </dd> <dt id="Documentation/git-push.txt--oltoptiongt"><span data-i18n="cb75fe25d166b45eeca4833702356571acd940197b656e26dd01a8abdccadbe7/cc" data-source="-o &amp;lt;option&amp;gt;" onmousemove="i18n(this)">-o &lt;option&gt;</span></dt> <dt id="Documentation/git-push.txt---push-optionltoptiongt"><span data-i18n="33c8a676b14882eca601448db3dcacd79e61143dab3737f5622a0b710810abf1/96" data-source="--push-option=&amp;lt;option&amp;gt;" onmousemove="i18n(this)">--push-option=&lt;option&gt;</span></dt> <dd> <p><span data-i18n="746911e2b10cf43233f164e394545b34993ba768968ceec586e55c64c9a0966b/ea" data-source="Transmit the given string to the server, which passes them to the pre-receive as well as the post-receive hook. The given string must not contain a NUL or LF character. When multiple &lt;code&gt;--push-option=&amp;lt;option&amp;gt;&lt;/code&gt; are given, they are all sent to the other side in the order listed on the command line. When no &lt;code&gt;--push-option=&amp;lt;option&amp;gt;&lt;/code&gt; is given from the command line, the values of configuration variable &lt;code&gt;push.pushOption&lt;/code&gt; are used instead." onmousemove="i18n(this)">&Pcy;&iecy;&rcy;&iecy;&dcy;&acy;&jcy;&tcy;&iecy; &dcy;&acy;&ncy;&ncy;&ucy;&yucy; &scy;&tcy;&rcy;&ocy;&kcy;&ucy; &ncy;&acy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&iecy;&tcy; &iecy;&iecy; &kcy;&acy;&kcy; &ncy;&acy; &lcy;&ocy;&vcy;&ucy;&shcy;&kcy;&ucy; &pcy;&rcy;&iecy;&dcy;&vcy;&acy;&rcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&gcy;&ocy; &pcy;&ocy;&lcy;&ucy;&chcy;&iecy;&ncy;&icy;&yacy;, &tcy;&acy;&kcy; &icy; &ncy;&acy; &pcy;&iecy;&rcy;&iecy;&khcy;&vcy;&acy;&tcy;&chcy;&icy;&kcy; &pcy;&ocy;&scy;&lcy;&iecy; &pcy;&ocy;&lcy;&ucy;&chcy;&iecy;&ncy;&icy;&yacy;. &Dcy;&acy;&ncy;&ncy;&acy;&yacy; &scy;&tcy;&rcy;&ocy;&kcy;&acy; &ncy;&iecy; &dcy;&ocy;&lcy;&zhcy;&ncy;&acy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&tcy;&softcy; &scy;&icy;&mcy;&vcy;&ocy;&lcy; NUL &icy;&lcy;&icy; LF. &IEcy;&scy;&lcy;&icy; &zcy;&acy;&dcy;&acy;&ncy;&ocy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ocy;  <code>--push-option=&lt;option&gt;</code> , &vcy;&scy;&iecy; &ocy;&ncy;&icy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy; &dcy;&rcy;&ucy;&gcy;&ocy;&jcy; &scy;&tcy;&ocy;&rcy;&ocy;&ncy;&iecy; &vcy; &pcy;&ocy;&rcy;&yacy;&dcy;&kcy;&iecy;, &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ocy;&mcy; &vcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&iecy;. &IEcy;&scy;&lcy;&icy; &vcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&iecy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;  <code>--push-option=&lt;option&gt;</code> , &vcy;&mcy;&iecy;&scy;&tcy;&ocy; &ncy;&iecy;&gcy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yucy;&tcy;&scy;&yacy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&jcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>push.pushOption</code> .</span></p> </dd> <dt id="Documentation/git-push.txt---receive-packltgit-receive-packgt"><span data-i18n="5edc0704f4c03535778a34fc763dd6f322925d16658f340501e02fdc50d639c8/e7" data-source="--receive-pack=&amp;lt;git-receive-pack&amp;gt;" onmousemove="i18n(this)">--receive-pack=&lt;git-receive-pack&gt;</span></dt> <dt id="Documentation/git-push.txt---execltgit-receive-packgt"><span data-i18n="23e8c10a9da028370f2580a4a63ae1244634acefa22eda2ffab93b5b2685de5d/f3" data-source="--exec=&amp;lt;git-receive-pack&amp;gt;" onmousemove="i18n(this)">--exec=&lt;git-receive-pack&gt;</span></dt> <dd> <p><span data-i18n="c588a1fc0f11f61d3a4eaecd415bd9dffcfeb054a1014909db3ba8e1e73b7661/a6" data-source="Path to the &lt;code&gt;git-receive-pack&lt;/code&gt; program on the remote end. Sometimes useful when pushing to a remote repository over ssh, and you do not have the program in a directory on the default $PATH." onmousemove="i18n(this)">&Pcy;&ucy;&tcy;&softcy; &kcy; &pcy;&rcy;&ocy;&gcy;&rcy;&acy;&mcy;&mcy;&iecy;  <code>git-receive-pack</code>  &ncy;&acy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&mcy; &kcy;&ocy;&ncy;&tscy;&iecy;. &Icy;&ncy;&ocy;&gcy;&dcy;&acy; &pcy;&ocy;&lcy;&iecy;&zcy;&ncy;&ocy; &pcy;&rcy;&icy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&iecy; &vcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ycy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &chcy;&iecy;&rcy;&iecy;&zcy; ssh, &icy; &ucy; &vcy;&acy;&scy; &ncy;&iecy;&tcy; &pcy;&rcy;&ocy;&gcy;&rcy;&acy;&mcy;&mcy;&ycy; &vcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&iecy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; $PATH.</span></p> </dd> <dt id="Documentation/git-push.txt---no-force-with-lease"><span data-i18n="a6eb3c3a5b9cab92ca145420ddbf629efcf89521516680b4de91bb46bbec517b/c9" data-source="--[no-]force-with-lease" onmousemove="i18n(this)">--[no-]force-with-lease</span></dt> <dt id="Documentation/git-push.txt---force-with-leaseltrefnamegt"><span data-i18n="4a23ee9987f9d27ee441d633f13f361f5dd091483a05f299bc013ce99f54e06e/da" data-source="--force-with-lease=&amp;lt;refname&amp;gt;" onmousemove="i18n(this)">--force-with-lease=&lt;refname&gt;</span></dt> <dt id="Documentation/git-push.txt---force-with-leaseltrefnamegtltexpectgt"><span data-i18n="32c3c7891e02960fe24981c2e00435597a4542c4968c5d4922d9a352fe186fc5/f1" data-source="--force-with-lease=&amp;lt;refname&amp;gt;:&amp;lt;expect&amp;gt;" onmousemove="i18n(this)">--force-with-lease=&lt;refname&gt;:&lt;expect&gt;</span></dt> <dd> <p><span data-i18n="251a9af6b2e959427efb885693b3bbe4216df45905b3924c3469222d795ea03c/0b" data-source="Usually, &amp;quot;git push&amp;quot; refuses to update a remote ref that is not an ancestor of the local ref used to overwrite it." onmousemove="i18n(this)">&Ocy;&bcy;&ycy;&chcy;&ncy;&ocy;  &quot;git push&quot;  &ocy;&tcy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&tcy;&softcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ucy;&yucy; &scy;&scy;&ycy;&lcy;&kcy;&ucy;, &kcy;&ocy;&tcy;&ocy;&rcy;&acy;&yacy; &ncy;&iecy; &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &pcy;&rcy;&iecy;&dcy;&kcy;&ocy;&mcy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ocy;&jcy; &scy;&scy;&ycy;&lcy;&kcy;&icy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&ncy;&ocy;&jcy; &dcy;&lcy;&yacy; &iecy;&iecy; &pcy;&iecy;&rcy;&iecy;&zcy;&acy;&pcy;&icy;&scy;&icy;.</span></p> <p><span data-i18n="5faca94d7b2fba9e11f71bc2608efdfa8a5daee3326aed81198129d96e805c3d/f1" data-source="This option overrides this restriction if the current value of the remote ref is the expected value. &amp;quot;git push&amp;quot; fails otherwise." onmousemove="i18n(this)">&Ecy;&tcy;&acy; &ocy;&pcy;&tscy;&icy;&yacy; &ocy;&tcy;&mcy;&iecy;&ncy;&yacy;&iecy;&tcy; &ecy;&tcy;&ocy; &ocy;&gcy;&rcy;&acy;&ncy;&icy;&chcy;&iecy;&ncy;&icy;&iecy;, &iecy;&scy;&lcy;&icy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&iecy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&jcy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &ocy;&zhcy;&icy;&dcy;&acy;&iecy;&mcy;&ocy;&mcy;&ucy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yucy;. &Vcy; &pcy;&rcy;&ocy;&tcy;&icy;&vcy;&ncy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy;  &quot;git push&quot;  &ncy;&iecy; &rcy;&acy;&bcy;&ocy;&tcy;&acy;&iecy;&tcy;.</span></p> <p><span data-i18n="3d8aff0605cdaecafacd9c64c95d5e589bb192194fe63c0b794781c035937dac/e1" data-source="Imagine that you have to rebase what you have already published. You will have to bypass the &amp;quot;must fast-forward&amp;quot; rule in order to replace the history you originally published with the rebased history. If somebody else built on top of your original history while you are rebasing, the tip of the branch at the remote may advance with their commit, and blindly pushing with &lt;code&gt;--force&lt;/code&gt; will lose their work." onmousemove="i18n(this)">&Pcy;&rcy;&iecy;&dcy;&scy;&tcy;&acy;&vcy;&softcy;&tcy;&iecy;, &chcy;&tcy;&ocy; &vcy;&acy;&mcy; &ncy;&ucy;&zhcy;&ncy;&ocy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &tcy;&ocy;, &chcy;&tcy;&ocy; &vcy;&ycy; &ucy;&zhcy;&iecy; &ocy;&pcy;&ucy;&bcy;&lcy;&icy;&kcy;&ocy;&vcy;&acy;&lcy;&icy;. &Vcy;&acy;&mcy; &pcy;&rcy;&icy;&dcy;&iecy;&tcy;&scy;&yacy; &ocy;&bcy;&ocy;&jcy;&tcy;&icy; &pcy;&rcy;&acy;&vcy;&icy;&lcy;&ocy;  &quot;must fast-forward&quot; , &chcy;&tcy;&ocy;&bcy;&ycy; &zcy;&acy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy; &pcy;&iecy;&rcy;&vcy;&ocy;&ncy;&acy;&chcy;&acy;&lcy;&softcy;&ncy;&ocy; &ocy;&pcy;&ucy;&bcy;&lcy;&icy;&kcy;&ocy;&vcy;&acy;&ncy;&ncy;&ucy;&yucy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&yucy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ocy;&jcy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&iecy;&jcy;. &IEcy;&scy;&lcy;&icy; &kcy;&tcy;&ocy;-&tcy;&ocy; &dcy;&rcy;&ucy;&gcy;&ocy;&jcy; &pcy;&ocy;&scy;&tcy;&rcy;&ocy;&icy;&lcy; &pcy;&ocy;&vcy;&iecy;&rcy;&khcy; &vcy;&acy;&shcy;&iecy;&jcy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ocy;&jcy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&icy;, &pcy;&ocy;&kcy;&acy; &vcy;&ycy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&iecy;&tcy;&iecy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy;, &kcy;&ocy;&ncy;&chcy;&icy;&kcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy; &mcy;&ocy;&zhcy;&iecy;&tcy; &pcy;&rcy;&ocy;&dcy;&vcy;&icy;&ncy;&ucy;&tcy;&softcy;&scy;&yacy; &vcy;&pcy;&iecy;&rcy;&iecy;&dcy; &scy; &iecy;&gcy;&ocy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&iecy;&jcy;, &icy; &scy;&lcy;&iecy;&pcy;&ocy;&iecy; &ncy;&acy;&zhcy;&acy;&tcy;&icy;&iecy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy;  <code>--force</code>  &pcy;&ocy;&tcy;&iecy;&rcy;&yacy;&iecy;&tcy; &scy;&vcy;&ocy;&yucy; &rcy;&acy;&bcy;&ocy;&tcy;&ucy;.</span></p> <p><span data-i18n="fd31e2edb516ecc64daf4714e17a8af776185010051ea41ad0ed79999b2c7211/4b" data-source="This option allows you to say that you expect the history you are updating is what you rebased and want to replace. If the remote ref still points at the commit you specified, you can be sure that no other people did anything to the ref. It is like taking a &amp;quot;lease&amp;quot; on the ref without explicitly locking it, and the remote ref is updated only if the &amp;quot;lease&amp;quot; is still valid." onmousemove="i18n(this)">&Ecy;&tcy;&acy; &ocy;&pcy;&tscy;&icy;&yacy; &pcy;&ocy;&zcy;&vcy;&ocy;&lcy;&yacy;&iecy;&tcy; &vcy;&acy;&mcy; &scy;&kcy;&acy;&zcy;&acy;&tcy;&softcy;, &chcy;&tcy;&ocy; &vcy;&ycy; &ocy;&zhcy;&icy;&dcy;&acy;&iecy;&tcy;&iecy;, &chcy;&tcy;&ocy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&iecy;&mcy;&acy;&yacy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&yacy; &mdash; &ecy;&tcy;&ocy; &tcy;&ocy;, &chcy;&tcy;&ocy; &vcy;&ycy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&lcy;&icy; &icy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &zcy;&acy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy;. &IEcy;&scy;&lcy;&icy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&acy;&yacy; &scy;&scy;&ycy;&lcy;&kcy;&acy; &pcy;&ocy;-&pcy;&rcy;&iecy;&zhcy;&ncy;&iecy;&mcy;&ucy; &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy; &ncy;&acy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ycy;&jcy; &vcy;&acy;&mcy;&icy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;, &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &bcy;&ycy;&tcy;&softcy; &ucy;&vcy;&iecy;&rcy;&iecy;&ncy;&ycy;, &chcy;&tcy;&ocy; &ncy;&icy;&kcy;&tcy;&ocy; &dcy;&rcy;&ucy;&gcy;&ocy;&jcy; &ncy;&icy;&chcy;&iecy;&gcy;&ocy; &ncy;&iecy; &scy;&dcy;&iecy;&lcy;&acy;&lcy; &scy; &scy;&scy;&ycy;&lcy;&kcy;&ocy;&jcy;. &Ecy;&tcy;&ocy; &pcy;&ocy;&khcy;&ocy;&zhcy;&iecy; &ncy;&acy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy;  &quot;lease&quot;  &pcy;&ocy; &scy;&scy;&ycy;&lcy;&kcy;&iecy; &bcy;&iecy;&zcy; &yacy;&vcy;&ncy;&ocy;&jcy; &bcy;&lcy;&ocy;&kcy;&icy;&rcy;&ocy;&vcy;&kcy;&icy;, &acy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&acy;&yacy; &scy;&scy;&ycy;&lcy;&kcy;&acy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &vcy; &tcy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy;, &iecy;&scy;&lcy;&icy;  &quot;lease&quot;  &vcy;&scy;&iecy; &iecy;&shchcy;&iecy; &dcy;&iecy;&jcy;&scy;&tcy;&vcy;&icy;&tcy;&iecy;&lcy;&iecy;&ncy;.</span></p> <p><span data-i18n="774d4e6ea06ea16703ce137547957d365ea0c9befb8541de171416f53575f78c/fc" data-source="&lt;code&gt;--force-with-lease&lt;/code&gt; alone, without specifying the details, will protect all remote refs that are going to be updated by requiring their current value to be the same as the remote-tracking branch we have for them." onmousemove="i18n(this)">&Ocy;&dcy;&icy;&ncy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy;  <code>--force-with-lease</code> , &bcy;&iecy;&zcy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&icy;&yacy; &pcy;&ocy;&dcy;&rcy;&ocy;&bcy;&ncy;&ocy;&scy;&tcy;&iecy;&jcy;, &zcy;&acy;&shchcy;&icy;&tcy;&icy;&tcy; &vcy;&scy;&iecy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ycy;&iecy; &scy;&scy;&ycy;&lcy;&kcy;&icy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &bcy;&ucy;&dcy;&ucy;&tcy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&tcy;&softcy;&scy;&yacy;, &tcy;&rcy;&iecy;&bcy;&ucy;&yacy;, &chcy;&tcy;&ocy;&bcy;&ycy; &icy;&khcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&iecy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; &bcy;&ycy;&lcy;&ocy; &tcy;&acy;&kcy;&icy;&mcy; &zhcy;&iecy;, &kcy;&acy;&kcy; &ucy; &vcy;&iecy;&tcy;&kcy;&icy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&ncy;&icy;&yacy;, &kcy;&ocy;&tcy;&ocy;&rcy;&acy;&yacy; &ucy; &ncy;&acy;&scy; &iecy;&scy;&tcy;&softcy; &dcy;&lcy;&yacy; &ncy;&icy;&khcy;.</span></p> <p><span data-i18n="dbd9218bf60753c002b2295387d06d35156fc85f365093a1e56d96749a127dec/44" data-source="&lt;code&gt;--force-with-lease=&amp;lt;refname&amp;gt;&lt;/code&gt;, without specifying the expected value, will protect the named ref (alone), if it is going to be updated, by requiring its current value to be the same as the remote-tracking branch we have for it." onmousemove="i18n(this)"><code>--force-with-lease=&lt;refname&gt;</code>  &bcy;&iecy;&zcy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&icy;&yacy; &ocy;&zhcy;&icy;&dcy;&acy;&iecy;&mcy;&ocy;&gcy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy; &zcy;&acy;&shchcy;&icy;&tcy;&icy;&tcy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ucy;&yucy; &scy;&scy;&ycy;&lcy;&kcy;&ucy; (&ocy;&dcy;&ncy;&ucy;), &iecy;&scy;&lcy;&icy; &ocy;&ncy;&acy; &bcy;&ucy;&dcy;&iecy;&tcy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&tcy;&softcy;&scy;&yacy;, &tcy;&rcy;&iecy;&bcy;&ucy;&yacy;, &chcy;&tcy;&ocy;&bcy;&ycy; &iecy;&iecy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&iecy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; &bcy;&ycy;&lcy;&ocy; &tcy;&acy;&kcy;&icy;&mcy; &zhcy;&iecy;, &kcy;&acy;&kcy; &icy; &ucy; &vcy;&iecy;&tcy;&kcy;&icy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&ncy;&icy;&yacy;, &kcy;&ocy;&tcy;&ocy;&rcy;&acy;&yacy; &ucy; &ncy;&acy;&scy; &iecy;&scy;&tcy;&softcy; &dcy;&lcy;&yacy; &ncy;&iecy;&iecy;.</span></p> <p><span data-i18n="0fd675afd31eef94ab19abc9c41903af8ee2bae14ba0b401647af2b65fd73b6b/24" data-source="&lt;code&gt;--force-with-lease=&amp;lt;refname&amp;gt;:&amp;lt;expect&amp;gt;&lt;/code&gt; will protect the named ref (alone), if it is going to be updated, by requiring its current value to be the same as the specified value &lt;code&gt;&amp;lt;expect&amp;gt;&lt;/code&gt; (which is allowed to be different from the remote-tracking branch we have for the refname, or we do not even have to have such a remote-tracking branch when this form is used). If &lt;code&gt;&amp;lt;expect&amp;gt;&lt;/code&gt; is the empty string, then the named ref must not already exist." onmousemove="i18n(this)"><code>--force-with-lease=&lt;refname&gt;:&lt;expect&gt;</code>  &zcy;&acy;&shchcy;&icy;&tcy;&icy;&tcy; &icy;&mcy;&iecy;&ncy;&ocy;&vcy;&acy;&ncy;&ncy;&ucy;&yucy; &scy;&scy;&ycy;&lcy;&kcy;&ucy; (&ocy;&tcy;&dcy;&iecy;&lcy;&softcy;&ncy;&ocy;), &iecy;&scy;&lcy;&icy; &ocy;&ncy;&acy; &bcy;&ucy;&dcy;&iecy;&tcy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&acy;, &tcy;&rcy;&iecy;&bcy;&ucy;&yacy;, &chcy;&tcy;&ocy;&bcy;&ycy; &iecy;&iecy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&iecy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; &bcy;&ycy;&lcy;&ocy; &tcy;&acy;&kcy;&icy;&mcy; &zhcy;&iecy;, &kcy;&acy;&kcy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ocy;&iecy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;  <code>&lt;expect&gt;</code>  (&kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&iecy; &mcy;&ocy;&zhcy;&iecy;&tcy; &ocy;&tcy;&lcy;&icy;&chcy;&acy;&tcy;&softcy;&scy;&yacy; &ocy;&tcy; &vcy;&iecy;&tcy;&kcy;&icy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&ncy;&icy;&yacy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ucy;&yucy; &mcy;&ycy; &icy;&mcy;&iecy;&iecy;&mcy; &dcy;&lcy;&yacy; &icy;&mcy;&iecy;&ncy;&icy; &scy;&scy;&ycy;&lcy;&kcy;&icy;. , &icy;&lcy;&icy; &ncy;&acy;&mcy; &dcy;&acy;&zhcy;&iecy; &ncy;&iecy; &ocy;&bcy;&yacy;&zcy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy; &icy;&mcy;&iecy;&tcy;&softcy; &tcy;&acy;&kcy;&ucy;&yucy; &ZeroWidthSpace;&ZeroWidthSpace;&vcy;&iecy;&tcy;&kcy;&ucy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&ncy;&icy;&yacy; &pcy;&rcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&icy; &ecy;&tcy;&ocy;&jcy; &fcy;&ocy;&rcy;&mcy;&ycy;). &IEcy;&scy;&lcy;&icy;  <code>&lt;expect&gt;</code>  &mdash; &pcy;&ucy;&scy;&tcy;&acy;&yacy; &scy;&tcy;&rcy;&ocy;&kcy;&acy;, &tcy;&ocy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&acy;&yacy; &scy;&scy;&ycy;&lcy;&kcy;&acy; &iecy;&shchcy;&iecy; &ncy;&iecy; &dcy;&ocy;&lcy;&zhcy;&ncy;&acy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ocy;&vcy;&acy;&tcy;&softcy;.</span></p> <p><span data-i18n="9e3de66cf6082ddf7233ee0fd8520730bcf59079252c90126fc207010d364a09/b6" data-source="Note that all forms other than &lt;code&gt;--force-with-lease=&amp;lt;refname&amp;gt;:&amp;lt;expect&amp;gt;&lt;/code&gt; that specifies the expected current value of the ref explicitly are still experimental and their semantics may change as we gain experience with this feature." onmousemove="i18n(this)">&Ocy;&bcy;&rcy;&acy;&tcy;&icy;&tcy;&iecy; &vcy;&ncy;&icy;&mcy;&acy;&ncy;&icy;&iecy;, &chcy;&tcy;&ocy; &vcy;&scy;&iecy; &fcy;&ocy;&rcy;&mcy;&ycy;, &kcy;&rcy;&ocy;&mcy;&iecy;  <code>--force-with-lease=&lt;refname&gt;:&lt;expect&gt;</code> , &vcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&khcy; &yacy;&vcy;&ncy;&ocy; &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &ocy;&zhcy;&icy;&dcy;&acy;&iecy;&mcy;&ocy;&iecy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&iecy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; &scy;&scy;&ycy;&lcy;&kcy;&icy;, &vcy;&scy;&iecy; &iecy;&shchcy;&iecy; &yacy;&vcy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy; &ecy;&kcy;&scy;&pcy;&iecy;&rcy;&icy;&mcy;&iecy;&ncy;&tcy;&acy;&lcy;&softcy;&ncy;&ycy;&mcy;&icy;, &icy; &icy;&khcy; &scy;&iecy;&mcy;&acy;&ncy;&tcy;&icy;&kcy;&acy; &mcy;&ocy;&zhcy;&iecy;&tcy; &icy;&zcy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy;&scy;&yacy; &pcy;&ocy; &mcy;&iecy;&rcy;&iecy; &tcy;&ocy;&gcy;&ocy;, &kcy;&acy;&kcy; &mcy;&ycy; &pcy;&rcy;&icy;&ocy;&bcy;&rcy;&iecy;&tcy;&acy;&iecy;&mcy; &ocy;&pcy;&ycy;&tcy; &rcy;&acy;&bcy;&ocy;&tcy;&ycy; &scy; &ecy;&tcy;&ocy;&jcy; &fcy;&ucy;&ncy;&kcy;&tscy;&icy;&iecy;&jcy;.</span></p> <p><span data-i18n="33cfba4758f7978f82dfa14789f2240901b500d6362ed66c64672c3c080bd464/82" data-source="&amp;quot;--no-force-with-lease&amp;quot; will cancel all the previous --force-with-lease on the command line." onmousemove="i18n(this)">&quot;--no-force-with-lease&quot;  &ocy;&tcy;&mcy;&iecy;&ncy;&icy;&tcy; &vcy;&scy;&iecy; &pcy;&rcy;&iecy;&dcy;&ycy;&dcy;&ucy;&shchcy;&icy;&iecy; --force-with-lease &vcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&iecy;.</span></p> <p><span data-i18n="474320b28e297eb0cdcaa3d73d0cc91306a80e1f55f637b0186c7c012aa4780e/6a" data-source="A general note on safety: supplying this option without an expected value, i.e. as &lt;code&gt;--force-with-lease&lt;/code&gt; or &lt;code&gt;--force-with-lease=&amp;lt;refname&amp;gt;&lt;/code&gt; interacts very badly with anything that implicitly runs &lt;code&gt;git fetch&lt;/code&gt; on the remote to be pushed to in the background, e.g. &lt;code&gt;git fetch origin&lt;/code&gt; on your repository in a cronjob." onmousemove="i18n(this)">&Ocy;&bcy;&shchcy;&iecy;&iecy; &pcy;&rcy;&icy;&mcy;&iecy;&chcy;&acy;&ncy;&icy;&iecy; &pcy;&ocy; &bcy;&iecy;&zcy;&ocy;&pcy;&acy;&scy;&ncy;&ocy;&scy;&tcy;&icy;: &pcy;&rcy;&iecy;&dcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy; &ecy;&tcy;&ocy;&jcy; &ocy;&pcy;&tscy;&icy;&icy; &bcy;&iecy;&zcy; &ocy;&zhcy;&icy;&dcy;&acy;&iecy;&mcy;&ocy;&gcy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy;, &tcy;.&iecy;. &pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy;  <code>--force-with-lease</code>  &icy;&lcy;&icy;  <code>--force-with-lease=&lt;refname&gt;</code>  &ocy;&chcy;&iecy;&ncy;&softcy; &pcy;&lcy;&ocy;&khcy;&ocy; &vcy;&zcy;&acy;&icy;&mcy;&ocy;&dcy;&iecy;&jcy;&scy;&tcy;&vcy;&ucy;&yucy;&tcy; &scy;&ocy; &vcy;&scy;&iecy;&mcy;, &chcy;&tcy;&ocy; &ncy;&iecy;&yacy;&vcy;&ncy;&ocy; &zcy;&acy;&pcy;&ucy;&scy;&kcy;&acy;&iecy;&tcy;  <code>git fetch</code>  &ncy;&acy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&mcy; &kcy;&ocy;&mcy;&pcy;&softcy;&yucy;&tcy;&iecy;&rcy;&iecy; &dcy;&lcy;&yacy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy; &vcy; &fcy;&ocy;&ncy;&ocy;&vcy;&ocy;&mcy; &rcy;&iecy;&zhcy;&icy;&mcy;&iecy;, &ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;  <code>git fetch origin</code>  &vcy; &vcy;&acy;&shcy;&iecy;&mcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy; &vcy; &zcy;&acy;&dcy;&acy;&ncy;&icy;&icy; cron.</span></p> <p><span data-i18n="f58db9988667e17a025eaf558b8c7a0b4ef3ada321f7a69c4b48351064eaf73e/ab" data-source="The protection it offers over &lt;code&gt;--force&lt;/code&gt; is ensuring that subsequent changes your work wasn&amp;rsquo;t based on aren&amp;rsquo;t clobbered, but this is trivially defeated if some background process is updating refs in the background. We don&amp;rsquo;t have anything except the remote tracking info to go by as a heuristic for refs you&amp;rsquo;re expected to have seen &amp;amp; are willing to clobber." onmousemove="i18n(this)">&Zcy;&acy;&shchcy;&icy;&tcy;&acy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ucy;&yucy; &ocy;&ncy; &pcy;&rcy;&iecy;&dcy;&lcy;&acy;&gcy;&acy;&iecy;&tcy; &pcy;&ocy; &scy;&rcy;&acy;&vcy;&ncy;&iecy;&ncy;&icy;&yucy; &scy;  <code>--force</code> , &gcy;&acy;&rcy;&acy;&ncy;&tcy;&icy;&rcy;&ucy;&iecy;&tcy;, &chcy;&tcy;&ocy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;, &ncy;&acy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&khcy; &ncy;&iecy; &bcy;&ycy;&lcy;&acy; &ocy;&scy;&ncy;&ocy;&vcy;&acy;&ncy;&acy; &vcy;&acy;&shcy;&acy; &rcy;&acy;&bcy;&ocy;&tcy;&acy;, &ncy;&iecy; &bcy;&ucy;&dcy;&ucy;&tcy; &ucy;&ncy;&icy;&chcy;&tcy;&ocy;&zhcy;&iecy;&ncy;&ycy;, &ncy;&ocy; &ecy;&tcy;&ocy; &tcy;&rcy;&icy;&vcy;&icy;&acy;&lcy;&softcy;&ncy;&ocy; &ncy;&iecy;&vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy;, &iecy;&scy;&lcy;&icy; &kcy;&acy;&kcy;&ocy;&jcy;-&tcy;&ocy; &fcy;&ocy;&ncy;&ocy;&vcy;&ycy;&jcy; &pcy;&rcy;&ocy;&tscy;&iecy;&scy;&scy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&iecy;&tcy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &vcy; &fcy;&ocy;&ncy;&ocy;&vcy;&ocy;&mcy; &rcy;&iecy;&zhcy;&icy;&mcy;&iecy;. &Ucy; &ncy;&acy;&scy; &ncy;&iecy;&tcy; &ncy;&icy;&chcy;&iecy;&gcy;&ocy;, &kcy;&rcy;&ocy;&mcy;&iecy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&icy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&ncy;&icy;&yacy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ucy;&yucy; &mcy;&ocy;&zhcy;&ncy;&ocy; &bcy;&ycy;&lcy;&ocy; &bcy;&ycy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &ecy;&vcy;&rcy;&icy;&scy;&tcy;&icy;&kcy;&icy; &dcy;&lcy;&yacy; &rcy;&iecy;&fcy;&iecy;&rcy;&acy;&lcy;&ocy;&vcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&khcy; &vcy;&ycy;, &kcy;&acy;&kcy; &ocy;&zhcy;&icy;&dcy;&acy;&iecy;&tcy;&scy;&yacy;, &vcy;&icy;&dcy;&iecy;&lcy;&icy; &icy; &gcy;&ocy;&tcy;&ocy;&vcy;&ycy; &ucy;&ncy;&icy;&chcy;&tcy;&ocy;&zhcy;&icy;&tcy;&softcy;.</span></p> <p><span data-i18n="c881a9685b4aec5c4d2bf71d4803ee276e003c5bb6b72d860e0731c64ba0137b/6b" data-source="If your editor or some other system is running &lt;code&gt;git fetch&lt;/code&gt; in the background for you a way to mitigate this is to simply set up another remote:" onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &vcy;&acy;&shcy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&ocy;&rcy; &icy;&lcy;&icy; &kcy;&acy;&kcy;&acy;&yacy;-&lcy;&icy;&bcy;&ocy; &dcy;&rcy;&ucy;&gcy;&acy;&yacy; &scy;&icy;&scy;&tcy;&iecy;&mcy;&acy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;  <code>git fetch</code>  &vcy; &fcy;&ocy;&ncy;&ocy;&vcy;&ocy;&mcy; &rcy;&iecy;&zhcy;&icy;&mcy;&iecy;, &scy;&pcy;&ocy;&scy;&ocy;&bcy; &scy;&mcy;&yacy;&gcy;&chcy;&icy;&tcy;&softcy; &ecy;&tcy;&ocy; &mdash; &pcy;&rcy;&ocy;&scy;&tcy;&ocy; &ncy;&acy;&scy;&tcy;&rcy;&ocy;&icy;&tcy;&softcy; &dcy;&rcy;&ucy;&gcy;&ocy;&jcy; &pcy;&ucy;&lcy;&softcy;&tcy;:</span></p> <div> <div> <pre class="hljs language-makefile">git remote add origin-push <span class="hljs-variable">$(git config remote.<span class="hljs-built_in">origin</span>.url)</span>
git fetch origin-push</pre> </div> </div> <p><span data-i18n="a3e8fe096a42c2921c8d6f6b377cdf2fc835d2dcf689c592d4ee94acec78a6b0/8e" data-source="Now when the background process runs &lt;code&gt;git fetch origin&lt;/code&gt; the references on &lt;code&gt;origin-push&lt;/code&gt; won&amp;rsquo;t be updated, and thus commands like:" onmousemove="i18n(this)">&Tcy;&iecy;&pcy;&iecy;&rcy;&softcy;, &kcy;&ocy;&gcy;&dcy;&acy; &fcy;&ocy;&ncy;&ocy;&vcy;&ycy;&jcy; &pcy;&rcy;&ocy;&tscy;&iecy;&scy;&scy; &zcy;&acy;&pcy;&ucy;&scy;&kcy;&acy;&iecy;&tcy;  <code>git fetch origin</code> , &scy;&scy;&ycy;&lcy;&kcy;&icy; &ncy;&acy;  <code>origin-push</code>  &ncy;&iecy; &bcy;&ucy;&dcy;&ucy;&tcy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&tcy;&softcy;&scy;&yacy;, &pcy;&ocy;&ecy;&tcy;&ocy;&mcy;&ucy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ycy; &tcy;&icy;&pcy;&acy;:</span></p> <div> <div> <pre class="hljs language-perl">git <span class="hljs-keyword">push</span> --force-with-lease origin-<span class="hljs-keyword">push</span></pre> </div> </div> <p><span data-i18n="4a499a86e0e2b753f91a208422b390b9f69f27806f9247cbaa3b72cea63b7c49/05" data-source="Will fail unless you manually run &lt;code&gt;git fetch origin-push&lt;/code&gt;. This method is of course entirely defeated by something that runs &lt;code&gt;git fetch
--all&lt;/code&gt;, in that case you&amp;rsquo;d need to either disable it or do something more tedious like:" onmousemove="i18n(this)">&Ncy;&iecy; &ucy;&dcy;&acy;&scy;&tcy;&scy;&yacy;, &iecy;&scy;&lcy;&icy; &vcy;&ycy; &ncy;&iecy; &zcy;&acy;&pcy;&ucy;&scy;&tcy;&icy;&tcy;&iecy;  <code>git fetch origin-push</code>  &vcy;&rcy;&ucy;&chcy;&ncy;&ucy;&yucy;. &Ecy;&tcy;&ocy;&tcy; &mcy;&iecy;&tcy;&ocy;&dcy;, &kcy;&ocy;&ncy;&iecy;&chcy;&ncy;&ocy;, &pcy;&ocy;&lcy;&ncy;&ocy;&scy;&tcy;&softcy;&yucy; &ncy;&iecy; &rcy;&acy;&bcy;&ocy;&tcy;&acy;&iecy;&tcy; &scy; &chcy;&iecy;&mcy;-&tcy;&ocy;, &chcy;&tcy;&ocy; &zcy;&acy;&pcy;&ucy;&scy;&kcy;&acy;&iecy;&tcy;  <code>git fetch
--all</code>  , &vcy; &ecy;&tcy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &vcy;&acy;&mcy; &pcy;&rcy;&icy;&dcy;&iecy;&tcy;&scy;&yacy; &lcy;&icy;&bcy;&ocy; &ocy;&tcy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&softcy; &iecy;&gcy;&ocy;, &lcy;&icy;&bcy;&ocy; &scy;&dcy;&iecy;&lcy;&acy;&tcy;&softcy; &chcy;&tcy;&ocy;-&tcy;&ocy; &bcy;&ocy;&lcy;&iecy;&iecy; &ucy;&tcy;&ocy;&mcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&iecy;, &ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;:</span></p> <div> <div> <pre class="hljs language-csharp">git fetch              <span class="hljs-meta"># update &apos;master&apos; from remote</span>
git tag <span class="hljs-keyword">base</span> master    <span class="hljs-meta"># mark our base point</span>
git rebase -i master   <span class="hljs-meta"># rewrite some commits</span>
git push --force-<span class="hljs-keyword">with</span>-lease=master:<span class="hljs-keyword">base</span> master:master</pre> </div> </div> <p><span data-i18n="3ef055e68a68b4ffe18cc519615fba1dd8a22c77f68f48a15c62ddd563918abc/d0" data-source="I.e. create a &lt;code&gt;base&lt;/code&gt; tag for versions of the upstream code that you&amp;rsquo;ve seen and are willing to overwrite, then rewrite history, and finally force push changes to &lt;code&gt;master&lt;/code&gt; if the remote version is still at &lt;code&gt;base&lt;/code&gt;, regardless of what your local &lt;code&gt;remotes/origin/master&lt;/code&gt; has been updated to in the background." onmousemove="i18n(this)">&Tcy;.&iecy;. &scy;&ocy;&zcy;&dcy;&acy;&jcy;&tcy;&iecy; &tcy;&iecy;&gcy;  <code>base</code>  &dcy;&lcy;&yacy; &vcy;&iecy;&rcy;&scy;&icy;&jcy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ocy;&gcy;&ocy; &kcy;&ocy;&dcy;&acy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &vcy;&ycy; &vcy;&icy;&dcy;&iecy;&lcy;&icy; &icy; &gcy;&ocy;&tcy;&ocy;&vcy;&ycy; &pcy;&iecy;&rcy;&iecy;&zcy;&acy;&pcy;&icy;&scy;&acy;&tcy;&softcy;, &zcy;&acy;&tcy;&iecy;&mcy; &pcy;&iecy;&rcy;&iecy;&pcy;&icy;&scy;&acy;&tcy;&softcy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&yucy; &icy;, &ncy;&acy;&kcy;&ocy;&ncy;&iecy;&tscy;, &pcy;&rcy;&icy;&ncy;&ucy;&dcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&icy;&tcy;&softcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &vcy;  <code>master</code> , &iecy;&scy;&lcy;&icy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&acy;&yacy; &vcy;&iecy;&rcy;&scy;&icy;&yacy; &vcy;&scy;&iecy; &iecy;&shchcy;&iecy; &ncy;&acy;&khcy;&ocy;&dcy;&icy;&tcy;&scy;&yacy; &vcy;  <code>base</code> , &ncy;&iecy;&zcy;&acy;&vcy;&icy;&scy;&icy;&mcy;&ocy; &ocy;&tcy; &tcy;&ocy;&gcy;&ocy;, &kcy;&acy;&kcy;&ocy;&jcy; &ucy; &vcy;&acy;&scy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ycy;&jcy;  <code>remotes/origin/master</code> . &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ocy; &vcy; &fcy;&ocy;&ncy;&ocy;&vcy;&ocy;&mcy; &rcy;&iecy;&zhcy;&icy;&mcy;&iecy;.</span></p> <p><span data-i18n="3fa50a57bc6973ccc0ccb7cb58a6a4181b66ab507e72516b297f3a471e983f1c/f7" data-source="Alternatively, specifying &lt;code&gt;--force-if-includes&lt;/code&gt; as an ancillary option along with &lt;code&gt;--force-with-lease[=&amp;lt;refname&amp;gt;]&lt;/code&gt; (i.e., without saying what exact commit the ref on the remote side must be pointing at, or which refs on the remote side are being protected) at the time of &amp;quot;push&amp;quot; will verify if updates from the remote-tracking refs that may have been implicitly updated in the background are integrated locally before allowing a forced update." onmousemove="i18n(this)">&Vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &acy;&lcy;&softcy;&tcy;&iecy;&rcy;&ncy;&acy;&tcy;&icy;&vcy;&ycy;, &ucy;&kcy;&acy;&zcy;&acy;&vcy;  <code>--force-if-includes</code>  &vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &vcy;&scy;&pcy;&ocy;&mcy;&ocy;&gcy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&jcy; &ocy;&pcy;&tscy;&icy;&icy; &vcy;&mcy;&iecy;&scy;&tcy;&iecy; &scy;  <code>--force-with-lease[=&lt;refname&gt;]</code>  (&tcy;. &iecy;. &bcy;&iecy;&zcy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&icy;&yacy; &tcy;&ocy;&gcy;&ocy;, &ncy;&acy; &kcy;&acy;&kcy;&ocy;&jcy; &icy;&mcy;&iecy;&ncy;&ncy;&ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy; &dcy;&ocy;&lcy;&zhcy;&ncy;&acy; &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&tcy;&softcy; &scy;&scy;&ycy;&lcy;&kcy;&acy; &ncy;&acy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&jcy; &scy;&tcy;&ocy;&rcy;&ocy;&ncy;&iecy; &icy;&lcy;&icy; &kcy;&acy;&kcy;&icy;&iecy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &ncy;&acy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&jcy; &scy;&tcy;&ocy;&rcy;&ocy;&ncy;&iecy; &zcy;&acy;&shchcy;&icy;&shchcy;&iecy;&ncy;&ycy;) &vcy;&ocy; &vcy;&rcy;&iecy;&mcy;&yacy;  &quot;push&quot;  &bcy;&ucy;&dcy;&iecy;&tcy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&yacy;&tcy;&softcy; &ncy;&acy;&lcy;&icy;&chcy;&icy;&iecy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&jcy;. &scy;&scy;&ycy;&lcy;&kcy;&icy; &icy;&zcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&ncy;&icy;&yacy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &mcy;&ocy;&gcy;&lcy;&icy; &bcy;&ycy;&tcy;&softcy; &ncy;&iecy;&yacy;&vcy;&ncy;&ocy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ycy; &vcy; &fcy;&ocy;&ncy;&ocy;&vcy;&ocy;&mcy; &rcy;&iecy;&zhcy;&icy;&mcy;&iecy;, &icy;&ncy;&tcy;&iecy;&gcy;&rcy;&icy;&rcy;&ucy;&yucy;&tcy;&scy;&yacy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ocy;, &pcy;&rcy;&iecy;&zhcy;&dcy;&iecy; &chcy;&iecy;&mcy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&icy;&tcy;&softcy; &pcy;&rcy;&icy;&ncy;&ucy;&dcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&iecy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy;.</span></p> </dd> <dt id="Documentation/git-push.txt--f"><span data-i18n="0e6503c1ece40e4ea7668463248ea2716eb37643f2c2c605f8bcee4d195a1705/83" data-source="-f" onmousemove="i18n(this)">-f</span></dt> <dt id="Documentation/git-push.txt---force"><span data-i18n="be262a109369ff4174b4b7a7aa917a83ca99dc94093be7d497384bb8c0f9cee6/ef" data-source="--force" onmousemove="i18n(this)">--force</span></dt> <dd> <p><span data-i18n="2b76ecf81a063af4cc2afd2190a43087d443811ec2ebe91308fbeab2bb59f427/6d" data-source="Usually, the command refuses to update a remote ref that is not an ancestor of the local ref used to overwrite it. Also, when &lt;code&gt;--force-with-lease&lt;/code&gt; option is used, the command refuses to update a remote ref whose current value does not match what is expected." onmousemove="i18n(this)">&Ocy;&bcy;&ycy;&chcy;&ncy;&ocy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy; &ocy;&tcy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&tcy;&softcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ucy;&yucy; &scy;&scy;&ycy;&lcy;&kcy;&ucy;, &kcy;&ocy;&tcy;&ocy;&rcy;&acy;&yacy; &ncy;&iecy; &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &pcy;&rcy;&iecy;&dcy;&kcy;&ocy;&mcy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ocy;&jcy; &scy;&scy;&ycy;&lcy;&kcy;&icy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&ncy;&ocy;&jcy; &dcy;&lcy;&yacy; &iecy;&iecy; &pcy;&iecy;&rcy;&iecy;&zcy;&acy;&pcy;&icy;&scy;&icy;. &Kcy;&rcy;&ocy;&mcy;&iecy; &tcy;&ocy;&gcy;&ocy;, &pcy;&rcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&icy; &ocy;&pcy;&tscy;&icy;&icy;  <code>--force-with-lease</code>  &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy; &ocy;&tcy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&tcy;&softcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ucy;&yucy; &scy;&scy;&ycy;&lcy;&kcy;&ucy;, &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&iecy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&jcy; &ncy;&iecy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &ocy;&zhcy;&icy;&dcy;&acy;&iecy;&mcy;&ocy;&mcy;&ucy;.</span></p> <p><span data-i18n="2e9aea9e2d4d56d0bc1999888764a9ceef2d11da6b3fc58db002ce8e61983a17/17" data-source="This flag disables these checks, and can cause the remote repository to lose commits; use it with care." onmousemove="i18n(this)">&Ecy;&tcy;&ocy;&tcy; &fcy;&lcy;&acy;&gcy; &ocy;&tcy;&kcy;&lcy;&yucy;&chcy;&acy;&iecy;&tcy; &ecy;&tcy;&icy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&kcy;&icy; &icy; &mcy;&ocy;&zhcy;&iecy;&tcy; &pcy;&rcy;&icy;&vcy;&iecy;&scy;&tcy;&icy; &kcy; &pcy;&ocy;&tcy;&iecy;&rcy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy; &vcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&mcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &iecy;&gcy;&ocy; &scy; &ocy;&scy;&tcy;&ocy;&rcy;&ocy;&zhcy;&ncy;&ocy;&scy;&tcy;&softcy;&yucy;.</span></p> <p><span data-i18n="f656a96135a1e02ec41f29c94d4e1ba3e5146c66389945372b30aed8fba625ce/9e" data-source="Note that &lt;code&gt;--force&lt;/code&gt; applies to all the refs that are pushed, hence using it with &lt;code&gt;push.default&lt;/code&gt; set to &lt;code&gt;matching&lt;/code&gt; or with multiple push destinations configured with &lt;code&gt;remote.*.push&lt;/code&gt; may overwrite refs other than the current branch (including local refs that are strictly behind their remote counterpart). To force a push to only one branch, use a &lt;code&gt;+&lt;/code&gt; in front of the refspec to push (e.g &lt;code&gt;git push
origin +master&lt;/code&gt; to force a push to the &lt;code&gt;master&lt;/code&gt; branch). See the &lt;code&gt;&amp;lt;refspec&amp;gt;...&lt;/code&gt; section above for details." onmousemove="i18n(this)">&Ocy;&bcy;&rcy;&acy;&tcy;&icy;&tcy;&iecy; &vcy;&ncy;&icy;&mcy;&acy;&ncy;&icy;&iecy;, &chcy;&tcy;&ocy;  <code>--force</code>  &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&yacy;&iecy;&tcy;&scy;&yacy; &kcy;&ocy; &vcy;&scy;&iecy;&mcy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&iecy;&mcy;&ycy;&mcy; &scy;&scy;&ycy;&lcy;&kcy;&acy;&mcy;, &pcy;&ocy;&ecy;&tcy;&ocy;&mcy;&ucy; &iecy;&gcy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &scy;  <code>push.default</code> , &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ncy;&ycy;&mcy; &ncy;&acy;  <code>matching</code> , &icy;&lcy;&icy; &scy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&icy;&mcy;&icy; &pcy;&ucy;&ncy;&kcy;&tcy;&acy;&mcy;&icy; &ncy;&acy;&zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy; push, &ncy;&acy;&scy;&tcy;&rcy;&ocy;&iecy;&ncy;&ncy;&ycy;&mcy;&icy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy;  <code>remote.*.push</code> , &mcy;&ocy;&zhcy;&iecy;&tcy; &pcy;&iecy;&rcy;&iecy;&zcy;&acy;&pcy;&icy;&scy;&acy;&tcy;&softcy; &scy;&scy;&ycy;&lcy;&kcy;&icy;, &ocy;&tcy;&lcy;&icy;&chcy;&ncy;&ycy;&iecy; &ocy;&tcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy; (&vcy;&kcy;&lcy;&yucy;&chcy;&acy;&yacy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ycy;&iecy; &scy;&scy;&ycy;&lcy;&kcy;&icy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ncy;&acy;&khcy;&ocy;&dcy;&yacy;&tcy;&scy;&yacy; &scy;&tcy;&rcy;&ocy;&gcy;&ocy; &pcy;&ocy;&zcy;&acy;&dcy;&icy; &icy;&khcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &acy;&ncy;&acy;&lcy;&ocy;&gcy;&acy;). &CHcy;&tcy;&ocy;&bcy;&ycy; &pcy;&rcy;&icy;&ncy;&ucy;&dcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&icy;&tcy;&softcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &ocy;&dcy;&ncy;&ucy; &vcy;&iecy;&tcy;&kcy;&ucy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy;  <code>+</code>  &pcy;&iecy;&rcy;&iecy;&dcy; refspec &dcy;&lcy;&yacy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy; (&ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;,  <code>git push
origin +master</code>  &dcy;&lcy;&yacy; &pcy;&rcy;&icy;&ncy;&ucy;&dcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&jcy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy; &vcy; &vcy;&iecy;&tcy;&kcy;&ucy;  <code>master</code> ). &Pcy;&ocy;&dcy;&rcy;&ocy;&bcy;&ncy;&ocy;&scy;&tcy;&icy; &scy;&mcy;. &vcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;  <code>&lt;refspec&gt;...</code>  &vcy;&ycy;&shcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-push.txt---no-force-if-includes"><span data-i18n="3781ed01db8393fffea0bf45d64afb2327266f936a733bc228696134b2475a30/2e" data-source="--[no-]force-if-includes" onmousemove="i18n(this)">--[no-]force-if-includes</span></dt> <dd> <p><span data-i18n="389019d4da22f072b2e10bad842127800f780dc3fab4db15ffac0d576b383a02/18" data-source="Force an update only if the tip of the remote-tracking ref has been integrated locally." onmousemove="i18n(this)">&Pcy;&rcy;&icy;&ncy;&ucy;&dcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&iecy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &vcy; &tcy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy;, &iecy;&scy;&lcy;&icy; &kcy;&ocy;&ncy;&chcy;&icy;&kcy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&ncy;&icy;&yacy; &bcy;&ycy;&lcy; &icy;&ncy;&tcy;&iecy;&gcy;&rcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ocy;.</span></p> <p><span data-i18n="292a9f55a40685013d94ea9c83b35fadaf90c7d52817d3b7f1c634b790d49e34/6e" data-source="This option enables a check that verifies if the tip of the remote-tracking ref is reachable from one of the &amp;quot;reflog&amp;quot; entries of the local branch based in it for a rewrite. The check ensures that any updates from the remote have been incorporated locally by rejecting the forced update if that is not the case." onmousemove="i18n(this)">&Ecy;&tcy;&ocy;&tcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy; &vcy;&kcy;&lcy;&yucy;&chcy;&acy;&iecy;&tcy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&kcy;&ucy;, &kcy;&ocy;&tcy;&ocy;&rcy;&acy;&yacy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&yacy;&iecy;&tcy;, &dcy;&ocy;&scy;&tcy;&ucy;&pcy;&iecy;&ncy; &lcy;&icy; &kcy;&ocy;&ncy;&chcy;&icy;&kcy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&ncy;&icy;&yacy; &icy;&zcy; &ocy;&dcy;&ncy;&ocy;&jcy; &icy;&zcy; &zcy;&acy;&pcy;&icy;&scy;&iecy;&jcy;  &quot;reflog&quot;  &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ocy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy;, &ocy;&scy;&ncy;&ocy;&vcy;&acy;&ncy;&ncy;&ocy;&jcy; &vcy; &ncy;&iecy;&jcy;, &dcy;&lcy;&yacy; &pcy;&iecy;&rcy;&iecy;&zcy;&acy;&pcy;&icy;&scy;&icy;. &Pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&kcy;&acy; &gcy;&acy;&rcy;&acy;&ncy;&tcy;&icy;&rcy;&ucy;&iecy;&tcy;, &chcy;&tcy;&ocy; &vcy;&scy;&iecy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &scy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &ucy;&scy;&tcy;&rcy;&ocy;&jcy;&scy;&tcy;&vcy;&acy; &bcy;&ycy;&lcy;&icy; &vcy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&ycy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ocy;, &ocy;&tcy;&kcy;&lcy;&ocy;&ncy;&yacy;&yacy; &pcy;&rcy;&icy;&ncy;&ucy;&dcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&iecy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy;, &iecy;&scy;&lcy;&icy; &ecy;&tcy;&ocy; &ncy;&iecy; &tcy;&acy;&kcy;.</span></p> <p><span data-i18n="33dace4411521fc8452dc37559e022c58ace052d6e8695c68a82a42350fe99b5/c5" data-source="If the option is passed without specifying &lt;code&gt;--force-with-lease&lt;/code&gt;, or specified along with &lt;code&gt;--force-with-lease=&amp;lt;refname&amp;gt;:&amp;lt;expect&amp;gt;&lt;/code&gt;, it is a &amp;quot;no-op&amp;quot;." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &ocy;&pcy;&tscy;&icy;&yacy; &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&iecy;&tcy;&scy;&yacy; &bcy;&iecy;&zcy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&icy;&yacy;  <code>--force-with-lease</code>  &icy;&lcy;&icy; &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &vcy;&mcy;&iecy;&scy;&tcy;&iecy; &scy;  <code>--force-with-lease=&lt;refname&gt;:&lt;expect&gt;</code> , &ecy;&tcy;&ocy;  &quot;no-op&quot; .</span></p> <p><span data-i18n="a613f1b6c47b2a76be9f177b6c07ae5a1c74a41f80be8a6528870a6921c617f8/57" data-source="Specifying &lt;code&gt;--no-force-if-includes&lt;/code&gt; disables this behavior." onmousemove="i18n(this)">&Ucy;&kcy;&acy;&zcy;&acy;&ncy;&icy;&iecy;  <code>--no-force-if-includes</code>  &ocy;&tcy;&kcy;&lcy;&yucy;&chcy;&acy;&iecy;&tcy; &ecy;&tcy;&ocy; &pcy;&ocy;&vcy;&iecy;&dcy;&iecy;&ncy;&icy;&iecy;.</span></p> </dd> <dt id="Documentation/git-push.txt---repoltrepositorygt"><span data-i18n="7d534cc2bcb9d74fda7857d7c118d7ee820b33be9fbd95dc92e24d4e1ff1c928/01" data-source="--repo=&amp;lt;repository&amp;gt;" onmousemove="i18n(this)">--repo=&lt;repository&gt;</span></dt> <dd> <p><span data-i18n="df740fda01e08ee043be4625a72aa04948f880590b48f66874fbb4c63ee905af/d1" data-source="This option is equivalent to the &amp;lt;repository&amp;gt; argument. If both are specified, the command-line argument takes precedence." onmousemove="i18n(this)">&Ecy;&tcy;&acy; &ocy;&pcy;&tscy;&icy;&yacy; &ecy;&kcy;&vcy;&icy;&vcy;&acy;&lcy;&iecy;&ncy;&tcy;&ncy;&acy; &acy;&rcy;&gcy;&ucy;&mcy;&iecy;&ncy;&tcy;&ucy; &lt;repository&gt;. &IEcy;&scy;&lcy;&icy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ycy; &ocy;&bcy;&acy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&acy;, &acy;&rcy;&gcy;&ucy;&mcy;&iecy;&ncy;&tcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&icy; &icy;&mcy;&iecy;&iecy;&tcy; &pcy;&rcy;&icy;&ocy;&rcy;&icy;&tcy;&iecy;&tcy;.</span></p> </dd> <dt id="Documentation/git-push.txt--u"><span data-i18n="99f14531f2599afdb9ace38c18c10740fd29ca1bdcdb7d0460fd799001d567bd/0f" data-source="-u" onmousemove="i18n(this)">-u</span></dt> <dt id="Documentation/git-push.txt---set-upstream"><span data-i18n="7fefc4bc9f95f71a53436cfc05926c03c71d0891b46ecc67a00a73378de7ea02/28" data-source="--set-upstream" onmousemove="i18n(this)">--set-upstream</span></dt> <dd> <p><span data-i18n="bfd920a86c537c99f6f7777009aae5487a97d0da461227090287447fcd3c44fb/7b" data-source="For every branch that is up to date or successfully pushed, add upstream (tracking) reference, used by argument-less &lt;a href=&quot;git-pull&quot;&gt;git-pull[1]&lt;/a&gt; and other commands. For more information, see &lt;code&gt;branch.&amp;lt;name&amp;gt;.merge&lt;/code&gt; in &lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt;." onmousemove="i18n(this)">&Dcy;&lcy;&yacy; &kcy;&acy;&zhcy;&dcy;&ocy;&jcy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ncy;&ocy;&jcy; &icy;&lcy;&icy; &ucy;&scy;&pcy;&iecy;&shcy;&ncy;&ocy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&ncy;&ocy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy; &dcy;&ocy;&bcy;&acy;&vcy;&softcy;&tcy;&iecy; &scy;&scy;&ycy;&lcy;&kcy;&ucy; &ncy;&acy; &vcy;&ocy;&scy;&khcy;&ocy;&dcy;&yacy;&shchcy;&icy;&jcy; &pcy;&ocy;&tcy;&ocy;&kcy; (&ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&ncy;&icy;&iecy;), &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&mcy;&ucy;&yucy;  <a href="git-pull.html">git-pull[1]</a>  &bcy;&iecy;&zcy; &acy;&rcy;&gcy;&ucy;&mcy;&iecy;&ncy;&tcy;&ocy;&vcy; &icy; &dcy;&rcy;&ucy;&gcy;&icy;&mcy;&icy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy;&mcy;&icy;. &Dcy;&lcy;&yacy; &pcy;&ocy;&lcy;&ucy;&chcy;&iecy;&ncy;&icy;&yacy; &dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&jcy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&icy; &scy;&mcy;.  <code>branch.&lt;name&gt;.merge</code>  &vcy;  <a href="git-config.html">git-config[1]</a> .</span></p> </dd> <dt id="Documentation/git-push.txt---no-thin"><span data-i18n="5043c4c1a656c17ae47aa93723e29fa41fd6fa349c8ce345fa3aa10656b53149/98" data-source="--[no-]thin" onmousemove="i18n(this)">--[no-]thin</span></dt> <dd> <p><span data-i18n="c94a00786f1db9d737281192c5b568d81aa0db30f413086160512487c6e9a776/f9" data-source="These options are passed to &lt;a href=&quot;git-send-pack&quot;&gt;git-send-pack[1]&lt;/a&gt;. A thin transfer significantly reduces the amount of sent data when the sender and receiver share many of the same objects in common. The default is &lt;code&gt;--thin&lt;/code&gt;." onmousemove="i18n(this)">&Ecy;&tcy;&icy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&ycy; &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&yucy;&tcy;&scy;&yacy;  <a href="git-send-pack.html">git-send-pack[1]</a> . &Tcy;&ocy;&ncy;&kcy;&acy;&yacy; &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&chcy;&acy; &zcy;&ncy;&acy;&chcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy; &ucy;&mcy;&iecy;&ncy;&softcy;&shcy;&acy;&iecy;&tcy; &ocy;&bcy;&hardcy;&iecy;&mcy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&iecy;&mcy;&ycy;&khcy; &dcy;&acy;&ncy;&ncy;&ycy;&khcy;, &kcy;&ocy;&gcy;&dcy;&acy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&icy;&tcy;&iecy;&lcy;&softcy; &icy; &pcy;&ocy;&lcy;&ucy;&chcy;&acy;&tcy;&iecy;&lcy;&softcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yucy;&tcy; &mcy;&ncy;&ocy;&gcy;&ocy; &ocy;&bcy;&shchcy;&icy;&khcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ocy;&vcy;. &Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &mdash;  <code>--thin</code> .</span></p> </dd> <dt id="Documentation/git-push.txt--q"><span data-i18n="5ce681666a15a41274346f65b8bcbf56f8e8170ac00706a44a09ee4d786a8609/cd" data-source="-q" onmousemove="i18n(this)">-q</span></dt> <dt id="Documentation/git-push.txt---quiet"><span data-i18n="b00818cdc507640687732769ee1cb501db377927ee76d03df23978bd0d706888/e2" data-source="--quiet" onmousemove="i18n(this)">--quiet</span></dt> <dd> <p><span data-i18n="6361e357b82f08a8f4a2eb5bd940a2c66464aaee6da9cf9b013a3e54cc6fc674/63" data-source="Suppress all output, including the listing of updated refs, unless an error occurs. Progress is not reported to the standard error stream." onmousemove="i18n(this)">&Pcy;&ocy;&dcy;&acy;&vcy;&icy;&tcy;&softcy; &vcy;&iecy;&scy;&softcy; &vcy;&ycy;&vcy;&ocy;&dcy;, &vcy;&kcy;&lcy;&yucy;&chcy;&acy;&yacy; &scy;&pcy;&icy;&scy;&ocy;&kcy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ncy;&ycy;&khcy; &scy;&scy;&ycy;&lcy;&ocy;&kcy;, &iecy;&scy;&lcy;&icy; &ncy;&iecy; &pcy;&rcy;&ocy;&icy;&zcy;&ocy;&jcy;&dcy;&iecy;&tcy; &ocy;&shcy;&icy;&bcy;&kcy;&acy;. &Ocy; &khcy;&ocy;&dcy;&iecy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&icy;&yacy; &ncy;&iecy; &scy;&ocy;&ocy;&bcy;&shchcy;&acy;&iecy;&tcy;&scy;&yacy; &vcy; &scy;&tcy;&acy;&ncy;&dcy;&acy;&rcy;&tcy;&ncy;&ycy;&jcy; &pcy;&ocy;&tcy;&ocy;&kcy; &ocy;&shcy;&icy;&bcy;&ocy;&kcy;.</span></p> </dd> <dt id="Documentation/git-push.txt--v"><span data-i18n="81c36ccd44ef18baabad6e2d87038b72d606263bd6a3432b964a872023654fff/7c" data-source="-v" onmousemove="i18n(this)">-v</span></dt> <dt id="Documentation/git-push.txt---verbose"><span data-i18n="bff1e8d3adf9e53481e9b21876983b359dc8a231bf7ebadde36a42dd7bd4db5c/93" data-source="--verbose" onmousemove="i18n(this)">--verbose</span></dt> <dd> <p><span data-i18n="833be3e945bff4477e0fc369fcfc98cd5662da32f7a698c4776b1236acdb1857/b9" data-source="Run verbosely." onmousemove="i18n(this)">Run verbosely.</span></p> </dd> <dt id="Documentation/git-push.txt---progress"><span data-i18n="c4d85ead394fc39f65f473a99058ad8fe951b5cd8d8dacc9e82d90e36b6430ea/a2" data-source="--progress" onmousemove="i18n(this)">--progress</span></dt> <dd> <p><span data-i18n="04667c2c7998347fb04de004a0d203aa361eadbaddd307962cc66470d68cf328/94" data-source="Progress status is reported on the standard error stream by default when it is attached to a terminal, unless -q is specified. This flag forces progress status even if the standard error stream is not directed to a terminal." onmousemove="i18n(this)">&Scy;&tcy;&acy;&tcy;&ucy;&scy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&icy;&yacy; &scy;&ocy;&ocy;&bcy;&shchcy;&acy;&iecy;&tcy;&scy;&yacy; &vcy; &scy;&tcy;&acy;&ncy;&dcy;&acy;&rcy;&tcy;&ncy;&ocy;&mcy; &pcy;&ocy;&tcy;&ocy;&kcy;&iecy; &ocy;&shcy;&icy;&bcy;&ocy;&kcy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;, &kcy;&ocy;&gcy;&dcy;&acy; &ocy;&ncy; &pcy;&ocy;&dcy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy; &kcy; &tcy;&iecy;&rcy;&mcy;&icy;&ncy;&acy;&lcy;&ucy;, &iecy;&scy;&lcy;&icy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy; -q. &Ecy;&tcy;&ocy;&tcy; &fcy;&lcy;&acy;&gcy; &ocy;&bcy;&iecy;&scy;&pcy;&iecy;&chcy;&icy;&vcy;&acy;&iecy;&tcy; &scy;&tcy;&acy;&tcy;&ucy;&scy; &khcy;&ocy;&dcy;&acy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&icy;&yacy;, &dcy;&acy;&zhcy;&iecy; &iecy;&scy;&lcy;&icy; &scy;&tcy;&acy;&ncy;&dcy;&acy;&rcy;&tcy;&ncy;&ycy;&jcy; &pcy;&ocy;&tcy;&ocy;&kcy; &ocy;&shcy;&icy;&bcy;&ocy;&kcy; &ncy;&iecy; &ncy;&acy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &ncy;&acy; &tcy;&iecy;&rcy;&mcy;&icy;&ncy;&acy;&lcy;.</span></p> </dd> <dt id="Documentation/git-push.txt---no-recurse-submodules"><span data-i18n="ee4f361b3708c726b2f1293d566df473542bac3b43b3608403ec7478dd8ce95f/00" data-source="--no-recurse-submodules" onmousemove="i18n(this)">--no-recurse-submodules</span></dt> <dt id="Documentation/git-push.txt---recurse-submodulescheckon-demandonlyno"><span data-i18n="f20167c46228257683b9e61e86d0ef1ef0b7a1a10be803d2dab2a38a9421e890/ec" data-source="--recurse-submodules=check|on-demand|only|no" onmousemove="i18n(this)">--recurse-submodules=check|on-demand|only|no</span></dt> <dd> <p><span data-i18n="2d286ffc7df0e2b0d3cdd1779a3276e0031f9814d243b68264b0328e6e58e6ea/59" data-source="May be used to make sure all submodule commits used by the revisions to be pushed are available on a remote-tracking branch. If &lt;code&gt;check&lt;/code&gt; is used Git will verify that all submodule commits that changed in the revisions to be pushed are available on at least one remote of the submodule. If any commits are missing the push will be aborted and exit with non-zero status. If &lt;code&gt;on-demand&lt;/code&gt; is used all submodules that changed in the revisions to be pushed will be pushed. If on-demand was not able to push all necessary revisions it will also be aborted and exit with non-zero status. If &lt;code&gt;only&lt;/code&gt; is used all submodules will be pushed while the superproject is left unpushed. A value of &lt;code&gt;no&lt;/code&gt; or using &lt;code&gt;--no-recurse-submodules&lt;/code&gt; can be used to override the push.recurseSubmodules configuration variable when no submodule recursion is required." onmousemove="i18n(this)">&Mcy;&ocy;&zhcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy;, &chcy;&tcy;&ocy;&bcy;&ycy; &ucy;&bcy;&iecy;&dcy;&icy;&tcy;&softcy;&scy;&yacy;, &chcy;&tcy;&ocy; &vcy;&scy;&iecy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; &pcy;&ocy;&dcy;&mcy;&ocy;&dcy;&ucy;&lcy;&yacy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&mcy;&ycy;&iecy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&iecy;&mcy;&ycy;&mcy;&icy; &rcy;&iecy;&vcy;&icy;&zcy;&icy;&yacy;&mcy;&icy;, &dcy;&ocy;&scy;&tcy;&ucy;&pcy;&ncy;&ycy; &vcy; &vcy;&iecy;&tcy;&kcy;&iecy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&ncy;&icy;&yacy;. &IEcy;&scy;&lcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy;  <code>check</code> ,  Git  &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&icy;&tcy;, &chcy;&tcy;&ocy; &vcy;&scy;&iecy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; &pcy;&ocy;&dcy;&mcy;&ocy;&dcy;&ucy;&lcy;&yacy;, &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&ncy;&ycy;&iecy; &vcy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&iecy;&mcy;&ycy;&khcy; &rcy;&iecy;&vcy;&icy;&zcy;&icy;&yacy;&khcy;, &dcy;&ocy;&scy;&tcy;&ucy;&pcy;&ncy;&ycy; &khcy;&ocy;&tcy;&yacy; &bcy;&ycy; &ncy;&acy; &ocy;&dcy;&ncy;&ocy;&mcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&mcy; &kcy;&ocy;&mcy;&pcy;&softcy;&yucy;&tcy;&iecy;&rcy;&iecy; &pcy;&ocy;&dcy;&mcy;&ocy;&dcy;&ucy;&lcy;&yacy;. &IEcy;&scy;&lcy;&icy; &kcy;&acy;&kcy;&icy;&iecy;-&lcy;&icy;&bcy;&ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; &ocy;&tcy;&scy;&ucy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&tcy;, &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&chcy;&acy; &bcy;&ucy;&dcy;&iecy;&tcy; &pcy;&rcy;&iecy;&rcy;&vcy;&acy;&ncy;&acy; &icy; &zcy;&acy;&vcy;&iecy;&rcy;&shcy;&icy;&tcy;&scy;&yacy; &scy; &ncy;&iecy;&ncy;&ucy;&lcy;&iecy;&vcy;&ycy;&mcy; &scy;&tcy;&acy;&tcy;&ucy;&scy;&ocy;&mcy;. &IEcy;&scy;&lcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy;  <code>on-demand</code> , &vcy;&scy;&iecy; &pcy;&ocy;&dcy;&mcy;&ocy;&dcy;&ucy;&lcy;&icy;, &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&ncy;&ycy;&iecy; &vcy; &vcy;&iecy;&rcy;&scy;&icy;&yacy;&khcy;, &pcy;&ocy;&dcy;&lcy;&iecy;&zhcy;&acy;&shchcy;&icy;&khcy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&iecy;, &bcy;&ucy;&dcy;&ucy;&tcy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&ycy;. &IEcy;&scy;&lcy;&icy; &pcy;&ocy; &tcy;&rcy;&iecy;&bcy;&ocy;&vcy;&acy;&ncy;&icy;&yucy; &ncy;&iecy; &ucy;&dcy;&acy;&lcy;&ocy;&scy;&softcy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&icy;&tcy;&softcy; &vcy;&scy;&iecy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ycy;&iecy; &vcy;&iecy;&rcy;&scy;&icy;&icy;, &ocy;&ncy; &tcy;&acy;&kcy;&zhcy;&iecy; &bcy;&ucy;&dcy;&iecy;&tcy; &pcy;&rcy;&iecy;&rcy;&vcy;&acy;&ncy; &icy; &zcy;&acy;&vcy;&iecy;&rcy;&shcy;&icy;&tcy;&scy;&yacy; &scy; &ncy;&iecy;&ncy;&ucy;&lcy;&iecy;&vcy;&ycy;&mcy; &scy;&tcy;&acy;&tcy;&ucy;&scy;&ocy;&mcy;. &IEcy;&scy;&lcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy;  <code>only</code> , &vcy;&scy;&iecy; &pcy;&ocy;&dcy;&mcy;&ocy;&dcy;&ucy;&lcy;&icy; &bcy;&ucy;&dcy;&ucy;&tcy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&ycy;, &acy; &scy;&ucy;&pcy;&iecy;&rcy;&pcy;&rcy;&ocy;&iecy;&kcy;&tcy; &ocy;&scy;&tcy;&acy;&ncy;&iecy;&tcy;&scy;&yacy; &ncy;&iecy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&ncy;&ycy;&mcy;. &Zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;  <code>no</code>  &icy;&lcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy;  <code>--no-recurse-submodules</code>  &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &dcy;&lcy;&yacy; &pcy;&iecy;&rcy;&iecy;&ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&icy;&yacy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&jcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy; push.recurseSubmodules, &kcy;&ocy;&gcy;&dcy;&acy; &rcy;&iecy;&kcy;&ucy;&rcy;&scy;&icy;&yacy; &pcy;&ocy;&dcy;&mcy;&ocy;&dcy;&ucy;&lcy;&yacy; &ncy;&iecy; &tcy;&rcy;&iecy;&bcy;&ucy;&iecy;&tcy;&scy;&yacy;.</span></p> <p><span data-i18n="a10d543245088dc4ae6f303e69e7e443b3e1c8f46d9270ef21ac434c16c6b716/f4" data-source="When using &lt;code&gt;on-demand&lt;/code&gt; or &lt;code&gt;only&lt;/code&gt;, if a submodule has a &amp;quot;push.recurseSubmodules={on-demand,only}&amp;quot; or &amp;quot;submodule.recurse&amp;quot; configuration, further recursion will occur. In this case, &amp;quot;only&amp;quot; is treated as &amp;quot;on-demand&amp;quot;." onmousemove="i18n(this)">&Pcy;&rcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&icy;  <code>on-demand</code>  &icy;&lcy;&icy;  <code>only</code> , &iecy;&scy;&lcy;&icy; &scy;&ucy;&bcy;&mcy;&ocy;&dcy;&ucy;&lcy;&softcy; &icy;&mcy;&iecy;&iecy;&tcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&yucy;  &quot;push.recurseSubmodules={on-demand,only}&quot;  &icy;&lcy;&icy;  &quot;submodule.recurse&quot; , &pcy;&rcy;&ocy;&icy;&zcy;&ocy;&jcy;&dcy;&iecy;&tcy; &dcy;&acy;&lcy;&softcy;&ncy;&iecy;&jcy;&shcy;&acy;&yacy; &rcy;&iecy;&kcy;&ucy;&rcy;&scy;&icy;&yacy;. &Vcy; &ecy;&tcy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy;  &quot;only&quot;  &rcy;&acy;&scy;&scy;&mcy;&acy;&tcy;&rcy;&icy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &kcy;&acy;&kcy;  &quot;on-demand&quot; .</span></p> </dd> <dt id="Documentation/git-push.txt---no-verify"><span data-i18n="f1973c1e7d01cc1bccc3d12bfad39d7bdbd324bb1b82ca8d3207f26045c09a2a/02" data-source="--[no-]verify" onmousemove="i18n(this)">--[no-]verify</span></dt> <dd> <p><span data-i18n="e1f45928174ffd6bbb405dde2698bee09824e6c16addcf73c5d0ea2776a6267f/5d" data-source="Toggle the pre-push hook (see &lt;a href=&quot;githooks&quot;&gt;githooks[5]&lt;/a&gt;). The default is --verify, giving the hook a chance to prevent the push. With --no-verify, the hook is bypassed completely." onmousemove="i18n(this)">&Pcy;&iecy;&rcy;&iecy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&iecy; &kcy;&rcy;&yucy;&chcy;&ocy;&kcy; &pcy;&rcy;&iecy;&dcy;&vcy;&acy;&rcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&gcy;&ocy; &ncy;&acy;&zhcy;&acy;&tcy;&icy;&yacy; (&scy;&mcy;.  <a href="githooks.html">githooks[5]</a> ). &Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; --verify, &chcy;&tcy;&ocy; &dcy;&acy;&iecy;&tcy; &pcy;&iecy;&rcy;&iecy;&khcy;&vcy;&acy;&tcy;&chcy;&icy;&kcy;&ucy; &vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy;&scy;&tcy;&softcy; &pcy;&rcy;&iecy;&dcy;&ocy;&tcy;&vcy;&rcy;&acy;&tcy;&icy;&tcy;&softcy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&ucy;. &Scy; --no-verify &khcy;&ucy;&kcy; &pcy;&ocy;&lcy;&ncy;&ocy;&scy;&tcy;&softcy;&yucy; &ocy;&bcy;&khcy;&ocy;&dcy;&icy;&tcy;&scy;&yacy;.</span></p> </dd> <dt id="Documentation/git-push.txt--4"><span data-i18n="e5e0093f285a4fb94c3fcc2ad7fd04edd10d429ccda87a9aa5e4718efadf182e/24" data-source="-4" onmousemove="i18n(this)">-4</span></dt> <dt id="Documentation/git-push.txt---ipv4"><span data-i18n="1f97e38542dd5087fc5115af673e39ea43d95c543baa10b7bc94578aea7ec04b/fd" data-source="--ipv4" onmousemove="i18n(this)">--ipv4</span></dt> <dd> <p><span data-i18n="9970b14330376c58df1db95a86214b424972d591b74f2b2142ec9bafc03934dc/06" data-source="Use IPv4 addresses only, ignoring IPv6 addresses." onmousemove="i18n(this)">&Icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &acy;&dcy;&rcy;&iecy;&scy;&acy; IPv4, &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ucy;&yacy; &acy;&dcy;&rcy;&iecy;&scy;&acy; IPv6.</span></p> </dd> <dt id="Documentation/git-push.txt--6"><span data-i18n="03b26944890929ff751653acb2f2af795cee38f937f379f52ed654a68ce91216/e7" data-source="-6" onmousemove="i18n(this)">-6</span></dt> <dt id="Documentation/git-push.txt---ipv6"><span data-i18n="b4f7c9a5c3c239166d1bf354977465da5ba6bcf9d4d3f825cbed4dd8a982c8c4/2a" data-source="--ipv6" onmousemove="i18n(this)">--ipv6</span></dt> <dd> <p><span data-i18n="e6414aae49899b7d5af6b94b62e76db1cdc68690461375eb358ec939064e2ba9/8b" data-source="Use IPv6 addresses only, ignoring IPv4 addresses." onmousemove="i18n(this)">&Icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &acy;&dcy;&rcy;&iecy;&scy;&acy; IPv6, &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ucy;&yacy; &acy;&dcy;&rcy;&iecy;&scy;&acy; IPv4.</span></p> </dd> </dl> </div> </div> <h2 class="text-body-emphasis"  id="_git_urls"><span data-i18n="5fba8049ffb7d3da0bfd924c7d601ce84a8d7ebbe2b3782987dc6ca1a04f6d00/59" data-source="Git urls" onmousemove="i18n(this)">Git urls</span></h2> <div> <p><span data-i18n="d147c03f4de5cb7f6c875c7c341a0b72d5473b3bef2b934148e01af4d6cfd40d/9d" data-source="In general, URLs contain information about the transport protocol, the address of the remote server, and the path to the repository. Depending on the transport protocol, some of this information may be absent." onmousemove="i18n(this)">&Ocy;&bcy;&ycy;&chcy;&ncy;&ocy; URL-&acy;&dcy;&rcy;&iecy;&scy;&acy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&tcy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&yucy; &ocy; &tcy;&rcy;&acy;&ncy;&scy;&pcy;&ocy;&rcy;&tcy;&ncy;&ocy;&mcy; &pcy;&rcy;&ocy;&tcy;&ocy;&kcy;&ocy;&lcy;&iecy;, &acy;&dcy;&rcy;&iecy;&scy;&iecy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&acy; &icy; &pcy;&ucy;&tcy;&icy; &kcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yucy;. &Vcy; &zcy;&acy;&vcy;&icy;&scy;&icy;&mcy;&ocy;&scy;&tcy;&icy; &ocy;&tcy; &tcy;&rcy;&acy;&ncy;&scy;&pcy;&ocy;&rcy;&tcy;&ncy;&ocy;&gcy;&ocy; &pcy;&rcy;&ocy;&tcy;&ocy;&kcy;&ocy;&lcy;&acy; &ncy;&iecy;&kcy;&ocy;&tcy;&ocy;&rcy;&acy;&yacy; &chcy;&acy;&scy;&tcy;&softcy; &ecy;&tcy;&ocy;&jcy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&icy; &mcy;&ocy;&zhcy;&iecy;&tcy; &ocy;&tcy;&scy;&ucy;&tcy;&scy;&tcy;&vcy;&ocy;&vcy;&acy;&tcy;&softcy;.</span></p> <p><span data-i18n="1ad97f0a6aa34afd6eccfd280fcb87b428d7437295f31272b81169e9046d697e/72" data-source="Git supports ssh, git, http, and https protocols (in addition, ftp and ftps can be used for fetching, but this is inefficient and deprecated; do not use them)." onmousemove="i18n(this)">Git  &pcy;&ocy;&dcy;&dcy;&iecy;&rcy;&zhcy;&icy;&vcy;&acy;&iecy;&tcy; &pcy;&rcy;&ocy;&tcy;&ocy;&kcy;&ocy;&lcy;&ycy; ssh, git, http &icy; https (&kcy;&rcy;&ocy;&mcy;&iecy; &tcy;&ocy;&gcy;&ocy;, &dcy;&lcy;&yacy; &vcy;&ycy;&bcy;&ocy;&rcy;&kcy;&icy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; ftp &icy; ftps, &ncy;&ocy; &ecy;&tcy;&ocy; &ncy;&iecy;&ecy;&fcy;&fcy;&iecy;&kcy;&tcy;&icy;&vcy;&ncy;&ocy; &icy; &ncy;&iecy; &rcy;&iecy;&kcy;&ocy;&mcy;&iecy;&ncy;&dcy;&ucy;&iecy;&tcy;&scy;&yacy;; &ncy;&iecy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &icy;&khcy;).</span></p> <p><span data-i18n="d29db6bd939b4f82d07b0337a570a6460f1f4cb3070611e3b9c4a6bd7dcdc4c6/91" data-source="The native transport (i.e. git:// URL) does no authentication and should be used with caution on unsecured networks." onmousemove="i18n(this)">&Scy;&ocy;&bcy;&scy;&tcy;&vcy;&iecy;&ncy;&ncy;&ycy;&jcy; &tcy;&rcy;&acy;&ncy;&scy;&pcy;&ocy;&rcy;&tcy; (&ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, URL-&acy;&dcy;&rcy;&iecy;&scy; git://) &ncy;&iecy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&iecy;&tcy; &acy;&ucy;&tcy;&iecy;&ncy;&tcy;&icy;&fcy;&icy;&kcy;&acy;&tscy;&icy;&yucy;, &icy; &iecy;&gcy;&ocy; &scy;&lcy;&iecy;&dcy;&ucy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &scy; &ocy;&scy;&tcy;&ocy;&rcy;&ocy;&zhcy;&ncy;&ocy;&scy;&tcy;&softcy;&yucy; &vcy; &ncy;&iecy;&zcy;&acy;&shchcy;&icy;&shchcy;&iecy;&ncy;&ncy;&ycy;&khcy; &scy;&iecy;&tcy;&yacy;&khcy;.</span></p> <p><span data-i18n="4ac5dcd09afdb3898bc77d2c86c358565e21b6125a9a07402af4705de41b2e54/aa" data-source="The following syntaxes may be used with them:" onmousemove="i18n(this)">&Scy; &ncy;&icy;&mcy;&icy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&iecy; &scy;&icy;&ncy;&tcy;&acy;&kcy;&scy;&icy;&scy;&ycy;:</span></p> <div> <ul> <li> <p><span data-i18n="85b8071ea9a4e17f0a16bc1871cc55b37495da4395d2f8e968e1eed5ddc0d4b8/c3" data-source="ssh://[user@]host.xz[:port]/path/to/repo.git/" onmousemove="i18n(this)">ssh://[user@]host.xz[:port]/path/to/repo.git/</span></p> </li> <li> <p><span data-i18n="94f8df01acf212a45be565fbc48708868e2c02dc3b242dfa732883159d4f65e3/1a" data-source="git://host.xz[:port]/path/to/repo.git/" onmousemove="i18n(this)">git://host.xz[:port]/path/to/repo.git/</span></p> </li> <li> <p><span data-i18n="a716edd911c3a12ebc2d3719f50a6d4eaff9d1f05fe79eb41e55c373f5b481f2/3a" data-source="http[s]://host.xz[:port]/path/to/repo.git/" onmousemove="i18n(this)">http[s]://host.xz[:port]/path/to/repo.git/</span></p> </li> <li> <p><span data-i18n="7e92431cfe829f2383cdcf6879f904e2553733081dd17b302f51571e66231fdc/a8" data-source="ftp[s]://host.xz[:port]/path/to/repo.git/" onmousemove="i18n(this)">ftp[s]://host.xz[:port]/path/to/repo.git/</span></p> </li> </ul> </div> <p><span data-i18n="db7cee843cc2a546949490c5e09e44336e37e9cdd7540888b36397b6b5e8f94d/b5" data-source="An alternative scp-like syntax may also be used with the ssh protocol:" onmousemove="i18n(this)">&Acy;&lcy;&softcy;&tcy;&iecy;&rcy;&ncy;&acy;&tcy;&icy;&vcy;&ncy;&ycy;&jcy; &scy;&icy;&ncy;&tcy;&acy;&kcy;&scy;&icy;&scy;, &pcy;&ocy;&dcy;&ocy;&bcy;&ncy;&ycy;&jcy; scp, &tcy;&acy;&kcy;&zhcy;&iecy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &scy; &pcy;&rcy;&ocy;&tcy;&ocy;&kcy;&ocy;&lcy;&ocy;&mcy; ssh:</span></p> <div> <ul> <li> <p><span data-i18n="4a929dc8cb4b3d2028bbe0540120a022f9789e83b0a5bb9750e0f891ce382095/d5" data-source="[user@]host.xz:path/to/repo.git/" onmousemove="i18n(this)">[user@]host.xz:path/to/repo.git/</span></p> </li> </ul> </div> <p><span data-i18n="bd9012043309fa4dcec57285a522908aaed7a004c4fc9b10cc06e5c6b21d7136/9d" data-source="This syntax is only recognized if there are no slashes before the first colon. This helps differentiate a local path that contains a colon. For example the local path &lt;code&gt;foo:bar&lt;/code&gt; could be specified as an absolute path or &lt;code&gt;./foo:bar&lt;/code&gt; to avoid being misinterpreted as an ssh url." onmousemove="i18n(this)">&Ecy;&tcy;&ocy;&tcy; &scy;&icy;&ncy;&tcy;&acy;&kcy;&scy;&icy;&scy; &rcy;&acy;&scy;&pcy;&ocy;&zcy;&ncy;&acy;&iecy;&tcy;&scy;&yacy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &vcy; &tcy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy;, &iecy;&scy;&lcy;&icy; &pcy;&iecy;&rcy;&iecy;&dcy; &pcy;&iecy;&rcy;&vcy;&ycy;&mcy; &dcy;&vcy;&ocy;&iecy;&tcy;&ocy;&chcy;&icy;&iecy;&mcy; &ncy;&iecy;&tcy; &kcy;&ocy;&scy;&ocy;&jcy; &chcy;&iecy;&rcy;&tcy;&ycy;. &Ecy;&tcy;&ocy; &pcy;&ocy;&mcy;&ocy;&gcy;&acy;&iecy;&tcy; &ocy;&tcy;&lcy;&icy;&chcy;&icy;&tcy;&softcy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ycy;&jcy; &pcy;&ucy;&tcy;&softcy;, &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&shchcy;&icy;&jcy; &dcy;&vcy;&ocy;&iecy;&tcy;&ocy;&chcy;&icy;&iecy;. &Ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ycy;&jcy; &pcy;&ucy;&tcy;&softcy;  <code>foo:bar</code>  &mcy;&ocy;&zhcy;&ncy;&ocy; &ucy;&kcy;&acy;&zcy;&acy;&tcy;&softcy; &kcy;&acy;&kcy; &acy;&bcy;&scy;&ocy;&lcy;&yucy;&tcy;&ncy;&ycy;&jcy; &pcy;&ucy;&tcy;&softcy; &icy;&lcy;&icy;  <code>./foo:bar</code> , &chcy;&tcy;&ocy;&bcy;&ycy; &iecy;&gcy;&ocy; &ncy;&iecy; &icy;&ncy;&tcy;&iecy;&rcy;&pcy;&rcy;&iecy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&lcy;&icy; &kcy;&acy;&kcy; URL-&acy;&dcy;&rcy;&iecy;&scy; ssh.</span></p> <p><span data-i18n="cf67d602dc4705224b9acfe88501bb72428de6a99a5339153ef28ffc175c8934/8b" data-source="The ssh and git protocols additionally support ~username expansion:" onmousemove="i18n(this)">&Pcy;&rcy;&ocy;&tcy;&ocy;&kcy;&ocy;&lcy;&ycy; ssh &icy;  git  &dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy; &pcy;&ocy;&dcy;&dcy;&iecy;&rcy;&zhcy;&icy;&vcy;&acy;&yucy;&tcy; &rcy;&acy;&scy;&shcy;&icy;&rcy;&iecy;&ncy;&icy;&iecy; ~username:</span></p> <div> <ul> <li> <p><span data-i18n="5022a44e61661439669787c8c74afb0d188f0352efb180bc67403038424447ae/c6" data-source="ssh://[user@]host.xz[:port]/~[user]/path/to/repo.git/" onmousemove="i18n(this)">ssh://[user@]host.xz[:port]/~[user]/path/to/repo.git/</span></p> </li> <li> <p><span data-i18n="f6f1be601767e4cf11c79f10afca037726210ba1740b35ca441b081c542a2969/c5" data-source="git://host.xz[:port]/~[user]/path/to/repo.git/" onmousemove="i18n(this)">git://host.xz[:port]/~[user]/path/to/repo.git/</span></p> </li> <li> <p><span data-i18n="9e2c082e92fd9cabbba7b62e525561b244fa78bf27d2efa6374de5187bbd867d/1d" data-source="[user@]host.xz:/~[user]/path/to/repo.git/" onmousemove="i18n(this)">[user@]host.xz:/~[user]/path/to/repo.git/</span></p> </li> </ul> </div> <p><span data-i18n="9e62068bb047e220e81b6d6e75eee41c7f2575caa7574a79e27e7490c423c821/28" data-source="For local repositories, also supported by Git natively, the following syntaxes may be used:" onmousemove="i18n(this)">&Dcy;&lcy;&yacy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ycy;&khcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&iecy;&vcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &tcy;&acy;&kcy;&zhcy;&iecy; &pcy;&ocy;&dcy;&dcy;&iecy;&rcy;&zhcy;&icy;&vcy;&acy;&yucy;&tcy;&scy;&yacy;  Git , &mcy;&ocy;&gcy;&ucy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&iecy; &scy;&icy;&ncy;&tcy;&acy;&kcy;&scy;&icy;&scy;&ycy;:</span></p> <div> <ul> <li> <p><span data-i18n="bfbf1c66391b3744bfd1943134e1a42cdfa87a0d5a6cbdb45342514ba98cf60b/5a" data-source="/path/to/repo.git/" onmousemove="i18n(this)">/path/to/repo.git/</span></p> </li> <li> <p><span data-i18n="6e8980ffe8830bc2545408dffad80615af26e70641286752c655d1d5aee612f0/46" data-source="file:///path/to/repo.git/" onmousemove="i18n(this)">file:///path/to/repo.git/</span></p> </li> </ul> </div> <p><span data-i18n="5974a64c056fe216f8bb162905481ae3fd6f5425d508687bf1bf0828ff8ae29b/9f" data-source="These two syntaxes are mostly equivalent, except when cloning, when the former implies --local option. See &lt;a href=&quot;git-clone&quot;&gt;git-clone[1]&lt;/a&gt; for details." onmousemove="i18n(this)">&Ecy;&tcy;&icy; &dcy;&vcy;&acy; &scy;&icy;&ncy;&tcy;&acy;&kcy;&scy;&icy;&scy;&acy; &vcy; &ocy;&scy;&ncy;&ocy;&vcy;&ncy;&ocy;&mcy; &ecy;&kcy;&vcy;&icy;&vcy;&acy;&lcy;&iecy;&ncy;&tcy;&ncy;&ycy;, &zcy;&acy; &icy;&scy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&icy;&iecy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy;&vcy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;, &kcy;&ocy;&gcy;&dcy;&acy; &pcy;&iecy;&rcy;&vcy;&ycy;&jcy; &pcy;&ocy;&dcy;&rcy;&acy;&zcy;&ucy;&mcy;&iecy;&vcy;&acy;&iecy;&tcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy; --local. &Pcy;&ocy;&dcy;&rcy;&ocy;&bcy;&ncy;&ocy;&scy;&tcy;&icy; &scy;&mcy;. &vcy;  <a href="git-clone.html">git-clone[1]</a> .</span></p> <p><span data-i18n="aaff245d6fc594f3bfa2642a909f4942d6cfcd5824d7a4238aa9f2f44b3b086e/32" data-source="&lt;code&gt;git clone&lt;/code&gt;, &lt;code&gt;git fetch&lt;/code&gt; and &lt;code&gt;git pull&lt;/code&gt;, but not &lt;code&gt;git push&lt;/code&gt;, will also accept a suitable bundle file. See &lt;a href=&quot;git-bundle&quot;&gt;git-bundle[1]&lt;/a&gt;." onmousemove="i18n(this)"><code>git clone</code> ,  <code>git fetch</code>  &icy;  <code>git pull</code> , &ncy;&ocy; &ncy;&iecy;  <code>git push</code> , &tcy;&acy;&kcy;&zhcy;&iecy; &pcy;&rcy;&icy;&ncy;&icy;&mcy;&acy;&yucy;&tcy; &pcy;&ocy;&dcy;&khcy;&ocy;&dcy;&yacy;&shchcy;&icy;&jcy; &fcy;&acy;&jcy;&lcy; &pcy;&acy;&kcy;&iecy;&tcy;&acy;. &Scy;&mcy;.  <a href="git-bundle.html">git-bundle[1]</a> .</span></p> <p><span data-i18n="cac402a7c7071a93d167097db064ecd601a635deff6251b96126b87d8ab3de4c/e7" data-source="When Git doesn&amp;rsquo;t know how to handle a certain transport protocol, it attempts to use the &lt;code&gt;remote-&amp;lt;transport&amp;gt;&lt;/code&gt; remote helper, if one exists. To explicitly request a remote helper, the following syntax may be used:" onmousemove="i18n(this)">&Kcy;&ocy;&gcy;&dcy;&acy;  Git  &ncy;&iecy; &zcy;&ncy;&acy;&iecy;&tcy;, &kcy;&acy;&kcy; &ocy;&bcy;&rcy;&acy;&bcy;&acy;&tcy;&ycy;&vcy;&acy;&tcy;&softcy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ycy;&jcy; &tcy;&rcy;&acy;&ncy;&scy;&pcy;&ocy;&rcy;&tcy;&ncy;&ycy;&jcy; &pcy;&rcy;&ocy;&tcy;&ocy;&kcy;&ocy;&lcy;, &ocy;&ncy; &pcy;&ycy;&tcy;&acy;&iecy;&tcy;&scy;&yacy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ycy;&jcy; &pcy;&ocy;&mcy;&ocy;&shchcy;&ncy;&icy;&kcy;  <code>remote-&lt;transport&gt;</code> , &iecy;&scy;&lcy;&icy; &tcy;&acy;&kcy;&ocy;&vcy;&ocy;&jcy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy;. &CHcy;&tcy;&ocy;&bcy;&ycy; &yacy;&vcy;&ncy;&ocy; &zcy;&acy;&pcy;&rcy;&ocy;&scy;&icy;&tcy;&softcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &pcy;&ocy;&mcy;&ocy;&shchcy;&ncy;&icy;&kcy;&acy;, &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&jcy; &scy;&icy;&ncy;&tcy;&acy;&kcy;&scy;&icy;&scy;:</span></p> <div> <ul> <li> <p><span data-i18n="ac002e2762647b2653f251cbfeb6a8751521ab57163a24f1a8dbdde09195a1e8/be" data-source="&amp;lt;transport&amp;gt;::&amp;lt;address&amp;gt;" onmousemove="i18n(this)">&lt;transport&gt;::&lt;address&gt;</span></p> </li> </ul> </div> <p><span data-i18n="81b28e2ce719121aeea8c69c296da1a4d9271832979f3b8a5c9621f8ae42cf91/63" data-source="where &amp;lt;address&amp;gt; may be a path, a server and path, or an arbitrary URL-like string recognized by the specific remote helper being invoked. See &lt;a href=&quot;gitremote-helpers&quot;&gt;gitremote-helpers[7]&lt;/a&gt; for details." onmousemove="i18n(this)">&gcy;&dcy;&iecy; &lt;&acy;&dcy;&rcy;&iecy;&scy;&gt; &mcy;&ocy;&zhcy;&iecy;&tcy; &bcy;&ycy;&tcy;&softcy; &pcy;&ucy;&tcy;&iecy;&mcy;, &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ocy;&mcy; &icy; &pcy;&ucy;&tcy;&iecy;&mcy; &icy;&lcy;&icy; &pcy;&rcy;&ocy;&icy;&zcy;&vcy;&ocy;&lcy;&softcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&ocy;&jcy; &tcy;&icy;&pcy;&acy; URL-&acy;&dcy;&rcy;&iecy;&scy;&acy;, &rcy;&acy;&scy;&pcy;&ocy;&zcy;&ncy;&acy;&vcy;&acy;&iecy;&mcy;&ocy;&jcy; &kcy;&ocy;&ncy;&kcy;&rcy;&iecy;&tcy;&ncy;&ycy;&mcy; &vcy;&ycy;&zcy;&ycy;&vcy;&acy;&iecy;&mcy;&ycy;&mcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ycy;&mcy; &pcy;&ocy;&mcy;&ocy;&shchcy;&ncy;&icy;&kcy;&ocy;&mcy;. &Pcy;&ocy;&dcy;&rcy;&ocy;&bcy;&ncy;&ocy;&scy;&tcy;&icy; &scy;&mcy;. &vcy;  <a href="gitremote-helpers.html">gitremote-helpers[7]</a> .</span></p> <p><span data-i18n="b3295dfdc9c7d7a793830b499d72d865ebe225d00802d2c7a0627580856e0b6f/ca" data-source="If there are a large number of similarly-named remote repositories and you want to use a different format for them (such that the URLs you use will be rewritten into URLs that work), you can create a configuration section of the form:" onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &bcy;&ocy;&lcy;&softcy;&shcy;&ocy;&iecy; &kcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&tcy;&vcy;&ocy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ycy;&khcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&iecy;&vcy; &scy; &ocy;&dcy;&icy;&ncy;&acy;&kcy;&ocy;&vcy;&ycy;&mcy;&icy; &icy;&mcy;&iecy;&ncy;&acy;&mcy;&icy; &icy; &vcy;&ycy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &dcy;&lcy;&yacy; &ncy;&icy;&khcy; &dcy;&rcy;&ucy;&gcy;&ocy;&jcy; &fcy;&ocy;&rcy;&mcy;&acy;&tcy; (&ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &chcy;&tcy;&ocy;&bcy;&ycy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&mcy;&ycy;&iecy; &vcy;&acy;&mcy;&icy; URL-&acy;&dcy;&rcy;&iecy;&scy;&acy; &bcy;&ycy;&lcy;&icy; &pcy;&iecy;&rcy;&iecy;&zcy;&acy;&pcy;&icy;&scy;&acy;&ncy;&ycy; &vcy; &rcy;&acy;&bcy;&ocy;&tcy;&acy;&yucy;&shchcy;&icy;&iecy; URL-&acy;&dcy;&rcy;&iecy;&scy;&acy;), &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &scy;&ocy;&zcy;&dcy;&acy;&tcy;&softcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy; &vcy;&icy;&dcy;&acy;:</span></p> <div> <div> <pre class="hljs language-csharp">        [<span class="hljs-meta">url <span class="hljs-string">&quot;&lt;actual url base&gt;&quot;</span></span>]
                insteadOf = &lt;other url <span class="hljs-keyword">base</span>&gt;</pre> </div> </div> <p><span data-i18n="96747154d6993a6ee72fec6b67d1459ba56ec4ea985a97e73a1d8ffcf5210774/ca" data-source="For example, with this:" onmousemove="i18n(this)">&Ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &scy; &ecy;&tcy;&icy;&mcy;:</span></p> <div> <div> <pre class="hljs language-ini">        <span class="hljs-section">[url &quot;git://git.host.xz/&quot;]</span>
                <span class="hljs-attr">insteadOf</span> = host.xz:/path/to/
                <span class="hljs-attr">insteadOf</span> = work:</pre> </div> </div> <p><span data-i18n="afc9ab39eb31c0189f906bac649b74a3c5a1db748d3da4f6d6a117b985faa137/b2" data-source="a URL like &amp;quot;work:repo.git&amp;quot; or like &amp;quot;host.xz:/path/to/repo.git&amp;quot; will be rewritten in any context that takes a URL to be &amp;quot;git://git.host.xz/repo.git&amp;quot;." onmousemove="i18n(this)">URL-&acy;&dcy;&rcy;&iecy;&scy; &tcy;&icy;&pcy;&acy;  &quot;work:repo.git&quot;  &icy;&lcy;&icy;  &quot;host.xz:/path/to/repo.git&quot;  &bcy;&ucy;&dcy;&iecy;&tcy; &pcy;&iecy;&rcy;&iecy;&zcy;&acy;&pcy;&icy;&scy;&acy;&ncy; &vcy; &lcy;&yucy;&bcy;&ocy;&mcy; &kcy;&ocy;&ncy;&tcy;&iecy;&kcy;&scy;&tcy;&iecy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &pcy;&rcy;&icy;&ncy;&icy;&mcy;&acy;&iecy;&tcy; URL-&acy;&dcy;&rcy;&iecy;&scy;  &quot;git://git.host.xz/repo.git&quot; .</span></p> <p><span data-i18n="f4fbbaca63961dfa42ecd67e22d5d705ed0d43dc6f52d9645007a3e74f3cade7/f9" data-source="If you want to rewrite URLs for push only, you can create a configuration section of the form:" onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &vcy;&ycy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &pcy;&iecy;&rcy;&iecy;&pcy;&icy;&scy;&acy;&tcy;&softcy; URL-&acy;&dcy;&rcy;&iecy;&scy;&acy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &dcy;&lcy;&yacy; push-&ucy;&vcy;&iecy;&dcy;&ocy;&mcy;&lcy;&iecy;&ncy;&icy;&jcy;, &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &scy;&ocy;&zcy;&dcy;&acy;&tcy;&softcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy; &fcy;&ocy;&rcy;&mcy;&ycy;:</span></p> <div> <div> <pre class="hljs language-csharp">        [<span class="hljs-meta">url <span class="hljs-string">&quot;&lt;actual url base&gt;&quot;</span></span>]
                pushInsteadOf = &lt;other url <span class="hljs-keyword">base</span>&gt;</pre> </div> </div> <p><span data-i18n="96747154d6993a6ee72fec6b67d1459ba56ec4ea985a97e73a1d8ffcf5210774/ca" data-source="For example, with this:" onmousemove="i18n(this)">&Ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &scy; &ecy;&tcy;&icy;&mcy;:</span></p> <div> <div> <pre class="hljs language-csharp">        [<span class="hljs-meta">url <span class="hljs-string">&quot;ssh://example.org/&quot;</span></span>]
                pushInsteadOf = git:<span class="hljs-comment">//example.org/</span></pre> </div> </div> <p><span data-i18n="f8d02de92a5a52af81710f49aebc5278d06b8e28331996981a550cd25e76f6f9/8b" data-source="a URL like &amp;quot;git://example.org/path/to/repo.git&amp;quot; will be rewritten to &amp;quot;ssh://example.org/path/to/repo.git&amp;quot; for pushes, but pulls will still use the original URL." onmousemove="i18n(this)">URL-&acy;&dcy;&rcy;&iecy;&scy; &tcy;&icy;&pcy;&acy;  &quot;git://example.org/path/to/repo.git&quot;  &bcy;&ucy;&dcy;&iecy;&tcy; &pcy;&iecy;&rcy;&iecy;&zcy;&acy;&pcy;&icy;&scy;&acy;&ncy; &vcy;  &quot;ssh://example.org/path/to/repo.git&quot;  &dcy;&lcy;&yacy; push-&ucy;&vcy;&iecy;&dcy;&ocy;&mcy;&lcy;&iecy;&ncy;&icy;&jcy;, &ncy;&ocy; &pcy;&rcy;&icy; &zcy;&acy;&pcy;&rcy;&ocy;&scy;&iecy; &pcy;&ocy;-&pcy;&rcy;&iecy;&zhcy;&ncy;&iecy;&mcy;&ucy; &bcy;&ucy;&dcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ycy;&jcy; URL-&acy;&dcy;&rcy;&iecy;&scy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_remotes"><span data-i18n="d615f8dba91f4e24f1a175e64f8ba8e676624fb3a638bd3eeb0c7ba0117cab73/f3" data-source="Remotes" onmousemove="i18n(this)">Remotes</span></h2> <div> <p><span data-i18n="5a94dfe061d1175a911ad4213a4469f5fdb66f1330d563e641604563d3c67b02/51" data-source="The name of one of the following can be used instead of a URL as &lt;code&gt;&amp;lt;repository&amp;gt;&lt;/code&gt; argument:" onmousemove="i18n(this)">&Vcy;&mcy;&iecy;&scy;&tcy;&ocy; URL-&acy;&dcy;&rcy;&iecy;&scy;&acy; &vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &acy;&rcy;&gcy;&ucy;&mcy;&iecy;&ncy;&tcy;&acy;  <code>&lt;repository&gt;</code>  &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &icy;&mcy;&yacy; &ocy;&dcy;&ncy;&ocy;&gcy;&ocy; &icy;&zcy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&khcy; &ecy;&lcy;&iecy;&mcy;&iecy;&ncy;&tcy;&ocy;&vcy;:</span></p> <div> <ul> <li> <p><span data-i18n="fd89c9a07dabffa2b6c43acf222fc2e10dacf0db17342ae0f6b629883271087b/90" data-source="a remote in the Git configuration file: &lt;code&gt;$GIT_DIR/config&lt;/code&gt;," onmousemove="i18n(this)">&pcy;&ucy;&lcy;&softcy;&tcy; &vcy; &fcy;&acy;&jcy;&lcy;&iecy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  Git :  <code>$GIT_DIR/config</code> ,</span></p> </li> <li> <p><span data-i18n="d7d648a87c4e131ea00135211704cd6b3879637cb0e42832d0acabaeba9398c1/39" data-source="a file in the &lt;code&gt;$GIT_DIR/remotes&lt;/code&gt; directory, or" onmousemove="i18n(this)">&fcy;&acy;&jcy;&lcy; &vcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&iecy;  <code>$GIT_DIR/remotes</code>  &icy;&lcy;&icy;</span></p> </li> <li> <p><span data-i18n="42ed751571f4ef1fe85dc943d589e2369287afddc8729157c754447a70c6984e/cc" data-source="a file in the &lt;code&gt;$GIT_DIR/branches&lt;/code&gt; directory." onmousemove="i18n(this)">&fcy;&acy;&jcy;&lcy; &vcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&iecy;  <code>$GIT_DIR/branches</code> .</span></p> </li> </ul> </div> <p><span data-i18n="3559d10dccd6b333066ae6a8090689bdc7a3615b43a733642f8588d206ed6b0d/05" data-source="All of these also allow you to omit the refspec from the command line because they each contain a refspec which git will use by default." onmousemove="i18n(this)">&Vcy;&scy;&iecy; &ocy;&ncy;&icy; &tcy;&acy;&kcy;&zhcy;&iecy; &pcy;&ocy;&zcy;&vcy;&ocy;&lcy;&yacy;&yucy;&tcy; &ocy;&pcy;&ucy;&scy;&tcy;&icy;&tcy;&softcy; &scy;&pcy;&iecy;&tscy;&icy;&fcy;&icy;&kcy;&acy;&tscy;&icy;&yucy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &vcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&iecy;, &pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &kcy;&acy;&zhcy;&dcy;&acy;&yacy; &icy;&zcy; &ncy;&icy;&khcy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&tcy; &scy;&pcy;&iecy;&tscy;&icy;&fcy;&icy;&kcy;&acy;&tscy;&icy;&yucy; &scy;&scy;&ycy;&lcy;&kcy;&icy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ucy;&yucy;  git  &bcy;&ucy;&dcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;.</span></p> <div> <h3 class="text-body-emphasis"  id="_named_remote_in_configuration_file"><span data-i18n="d68e102c345cf5d665e95ab337da47949e079c55c44cd137a9a93820646d6042/0c" data-source="Named remote in configuration file" onmousemove="i18n(this)">&Icy;&mcy;&iecy;&ncy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&jcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ycy;&jcy; &kcy;&ocy;&mcy;&pcy;&softcy;&yucy;&tcy;&iecy;&rcy; &vcy; &fcy;&acy;&jcy;&lcy;&iecy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;</span></h3> <p><span data-i18n="6bfecc24077fb4426bbf3eb5fc617b59540e151d6b209c0853a856498b394c04/5e" data-source="You can choose to provide the name of a remote which you had previously configured using &lt;a href=&quot;git-remote&quot;&gt;git-remote[1]&lt;/a&gt;, &lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt; or even by a manual edit to the &lt;code&gt;$GIT_DIR/config&lt;/code&gt; file. The URL of this remote will be used to access the repository. The refspec of this remote will be used by default when you do not provide a refspec on the command line. The entry in the config file would appear like this:" onmousemove="i18n(this)">&Vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&tcy;&softcy; &icy;&mcy;&yacy; &pcy;&ucy;&lcy;&softcy;&tcy;&acy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &vcy;&ycy; &rcy;&acy;&ncy;&iecy;&iecy; &ncy;&acy;&scy;&tcy;&rcy;&ocy;&icy;&lcy;&icy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy;  <a href="git-remote.html">git-remote[1]</a> ,  <a href="git-config.html">git-config[1]</a>  &icy;&lcy;&icy; &dcy;&acy;&zhcy;&iecy; &vcy;&rcy;&ucy;&chcy;&ncy;&ucy;&yucy; &ocy;&tcy;&rcy;&iecy;&dcy;&acy;&kcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&vcy; &fcy;&acy;&jcy;&lcy;  <code>$GIT_DIR/config</code> . URL-&acy;&dcy;&rcy;&iecy;&scy; &ecy;&tcy;&ocy;&gcy;&ocy; &pcy;&ucy;&lcy;&softcy;&tcy;&acy; &bcy;&ucy;&dcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &dcy;&lcy;&yacy; &dcy;&ocy;&scy;&tcy;&ucy;&pcy;&acy; &kcy; &khcy;&rcy;&acy;&ncy;&icy;&lcy;&icy;&shchcy;&ucy;. &Scy;&pcy;&iecy;&tscy;&icy;&fcy;&icy;&kcy;&acy;&tscy;&icy;&yacy; &ecy;&tcy;&ocy;&gcy;&ocy; &pcy;&ucy;&lcy;&softcy;&tcy;&acy; &bcy;&ucy;&dcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;, &iecy;&scy;&lcy;&icy; &vcy;&ycy; &ncy;&iecy; &ucy;&kcy;&acy;&zhcy;&iecy;&tcy;&iecy; &scy;&pcy;&iecy;&tscy;&icy;&fcy;&icy;&kcy;&acy;&tscy;&icy;&yucy; &vcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&iecy;. &Zcy;&acy;&pcy;&icy;&scy;&softcy; &vcy; &fcy;&acy;&jcy;&lcy;&iecy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy; &bcy;&ucy;&dcy;&iecy;&tcy; &vcy;&ycy;&gcy;&lcy;&yacy;&dcy;&iecy;&tcy;&softcy; &tcy;&acy;&kcy;:</span></p> <div> <div> <pre class="hljs language-ini">        <span class="hljs-section">[remote &quot;&lt;name&gt;&quot;]</span>
                <span class="hljs-attr">url</span> = &lt;URL&gt;
                <span class="hljs-attr">pushurl</span> = &lt;pushurl&gt;
                <span class="hljs-attr">push</span> = &lt;refspec&gt;
                <span class="hljs-attr">fetch</span> = &lt;refspec&gt;</pre> </div> </div> <p><span data-i18n="15156b5003893c5307b3887e1d4feed25448cf56e19b5cc857b570eb42b6fc8b/28" data-source="The &lt;code&gt;&amp;lt;pushurl&amp;gt;&lt;/code&gt; is used for pushes only. It is optional and defaults to &lt;code&gt;&amp;lt;URL&amp;gt;&lt;/code&gt;. Pushing to a remote affects all defined pushurls or all defined urls if no pushurls are defined. Fetch, however, will only fetch from the first defined url if multiple urls are defined." onmousemove="i18n(this)"><code>&lt;pushurl&gt;</code>  &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &dcy;&lcy;&yacy; push-&ucy;&vcy;&iecy;&dcy;&ocy;&mcy;&lcy;&iecy;&ncy;&icy;&jcy;. &Ecy;&tcy;&ocy; &ncy;&iecy;&ocy;&bcy;&yacy;&zcy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy; &icy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &mdash;  <code>&lt;URL&gt;</code> . &Ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&acy; &ncy;&acy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ycy;&jcy; &kcy;&ocy;&mcy;&pcy;&softcy;&yucy;&tcy;&iecy;&rcy; &vcy;&lcy;&icy;&yacy;&iecy;&tcy; &ncy;&acy; &vcy;&scy;&iecy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ycy;&iecy; pushurl-&acy;&dcy;&rcy;&iecy;&scy;&acy; &icy;&lcy;&icy; &ncy;&acy; &vcy;&scy;&iecy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ycy;&iecy; URL-&acy;&dcy;&rcy;&iecy;&scy;&acy;, &iecy;&scy;&lcy;&icy; pushurl &ncy;&iecy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;. &Ocy;&dcy;&ncy;&acy;&kcy;&ocy; Fetch &bcy;&ucy;&dcy;&iecy;&tcy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&tcy;&softcy; &vcy;&ycy;&bcy;&ocy;&rcy;&kcy;&ucy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &scy; &pcy;&iecy;&rcy;&vcy;&ocy;&gcy;&ocy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; URL-&acy;&dcy;&rcy;&iecy;&scy;&acy;, &iecy;&scy;&lcy;&icy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&ocy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ocy; URL-&acy;&dcy;&rcy;&iecy;&scy;&ocy;&vcy;.</span></p> </div> <div> <h3 class="text-body-emphasis"  id="_named_file_in_git_dirremotes"><span data-i18n="7e810f4fe29a772b67c833c7c1ca712da9f53a2778bf6b0b4aeacca49e04bb4d/ff" data-source="Named file in &lt;code&gt;$GIT_DIR/remotes&lt;/code&gt;" onmousemove="i18n(this)">&Icy;&mcy;&iecy;&ncy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&jcy; &fcy;&acy;&jcy;&lcy; &vcy;  <code>$GIT_DIR/remotes</code></span>
</h3> <p><span data-i18n="e60ee1b4fddcc4e6d1afb1bbbadbfd6843a0742bd66a21ca94cb47725534733c/ec" data-source="You can choose to provide the name of a file in &lt;code&gt;$GIT_DIR/remotes&lt;/code&gt;. The URL in this file will be used to access the repository. The refspec in this file will be used as default when you do not provide a refspec on the command line. This file should have the following format:" onmousemove="i18n(this)">&Vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&tcy;&softcy; &icy;&mcy;&yacy; &fcy;&acy;&jcy;&lcy;&acy; &vcy; &fcy;&ocy;&rcy;&mcy;&acy;&tcy;&iecy;  <code>$GIT_DIR/remotes</code> . URL-&acy;&dcy;&rcy;&iecy;&scy; &vcy; &ecy;&tcy;&ocy;&mcy; &fcy;&acy;&jcy;&lcy;&iecy; &bcy;&ucy;&dcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &dcy;&lcy;&yacy; &dcy;&ocy;&scy;&tcy;&ucy;&pcy;&acy; &kcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yucy;. &Scy;&pcy;&iecy;&tscy;&icy;&fcy;&icy;&kcy;&acy;&tscy;&icy;&yacy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &vcy; &ecy;&tcy;&ocy;&mcy; &fcy;&acy;&jcy;&lcy;&iecy; &bcy;&ucy;&dcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;, &iecy;&scy;&lcy;&icy; &vcy;&ycy; &ncy;&iecy; &ucy;&kcy;&acy;&zhcy;&iecy;&tcy;&iecy; &scy;&pcy;&iecy;&tscy;&icy;&fcy;&icy;&kcy;&acy;&tscy;&icy;&yucy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &vcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&iecy;. &Ecy;&tcy;&ocy;&tcy; &fcy;&acy;&jcy;&lcy; &dcy;&ocy;&lcy;&zhcy;&iecy;&ncy; &icy;&mcy;&iecy;&tcy;&softcy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&jcy; &fcy;&ocy;&rcy;&mcy;&acy;&tcy;:</span></p> <div> <div> <pre class="hljs language-yaml" data-highlighted="yes">        <span class="hljs-attr">URL:</span> <span class="hljs-string">one</span> <span class="hljs-string">of</span> <span class="hljs-string">the</span> <span class="hljs-string">above</span> <span class="hljs-string">URL</span> <span class="hljs-string">formats</span>
        <span class="hljs-attr">Push:</span> <span class="hljs-string">&lt;refspec&gt;</span>
        <span class="hljs-attr">Pull:</span> <span class="hljs-string">&lt;refspec&gt;</span></pre> </div> </div> <p><span data-i18n="3ab8e044667ea8089598d9ee584f040a2c51a71a3564c2d2c41e63b124af01f4/fc" data-source="&lt;code&gt;Push:&lt;/code&gt; lines are used by &lt;code&gt;git push&lt;/code&gt; and &lt;code&gt;Pull:&lt;/code&gt; lines are used by &lt;code&gt;git pull&lt;/code&gt; and &lt;code&gt;git fetch&lt;/code&gt;. Multiple &lt;code&gt;Push:&lt;/code&gt; and &lt;code&gt;Pull:&lt;/code&gt; lines may be specified for additional branch mappings." onmousemove="i18n(this)">&Lcy;&icy;&ncy;&icy;&icy;  <code>Push:</code>  &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yucy;&tcy;&scy;&yacy;  <code>git push</code> , &acy; &lcy;&icy;&ncy;&icy;&icy;  <code>Pull:</code>  &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yucy;&tcy;&scy;&yacy;  <code>git pull</code>  &icy;  <code>git fetch</code> . &Dcy;&lcy;&yacy; &dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ycy;&khcy; &scy;&ocy;&pcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&jcy; &vcy;&iecy;&tcy;&vcy;&iecy;&jcy; &mcy;&ocy;&zhcy;&ncy;&ocy; &ucy;&kcy;&acy;&zcy;&acy;&tcy;&softcy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ocy; &lcy;&icy;&ncy;&icy;&jcy;  <code>Push:</code>  &icy;  <code>Pull:</code> .</span></p> </div> <div> <h3 class="text-body-emphasis"  id="_named_file_in_git_dirbranches"><span data-i18n="683c9ecce6f9eab616ced4db8f6613fe0755941fe2f1fb3e7e2db25af8b400f2/c0" data-source="Named file in &lt;code&gt;$GIT_DIR/branches&lt;/code&gt;" onmousemove="i18n(this)">&Icy;&mcy;&iecy;&ncy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&jcy; &fcy;&acy;&jcy;&lcy; &vcy;  <code>$GIT_DIR/branches</code></span>
</h3> <p><span data-i18n="ac263747873e996a1cee0b10b2b2c7479b4a7469172212381e0559aedb0771ef/7a" data-source="You can choose to provide the name of a file in &lt;code&gt;$GIT_DIR/branches&lt;/code&gt;. The URL in this file will be used to access the repository. This file should have the following format:" onmousemove="i18n(this)">&Vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&tcy;&softcy; &icy;&mcy;&yacy; &fcy;&acy;&jcy;&lcy;&acy; &vcy; &fcy;&ocy;&rcy;&mcy;&acy;&tcy;&iecy;  <code>$GIT_DIR/branches</code> . URL-&acy;&dcy;&rcy;&iecy;&scy; &vcy; &ecy;&tcy;&ocy;&mcy; &fcy;&acy;&jcy;&lcy;&iecy; &bcy;&ucy;&dcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &dcy;&lcy;&yacy; &dcy;&ocy;&scy;&tcy;&ucy;&pcy;&acy; &kcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yucy;. &Ecy;&tcy;&ocy;&tcy; &fcy;&acy;&jcy;&lcy; &dcy;&ocy;&lcy;&zhcy;&iecy;&ncy; &icy;&mcy;&iecy;&tcy;&softcy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&jcy; &fcy;&ocy;&rcy;&mcy;&acy;&tcy;:</span></p> <div> <div> <pre class="hljs language-xml">        <span class="hljs-tag">&lt;<span class="hljs-name">URL</span>&gt;</span>#<span class="hljs-tag">&lt;<span class="hljs-name">head</span>&gt;</span></pre> </div> </div> <p><span data-i18n="9b19f7deb89df96c74c9e62d9c9ce623dee43fd76703aa46341470ca0d534ede/d6" data-source="&lt;code&gt;&amp;lt;URL&amp;gt;&lt;/code&gt; is required; &lt;code&gt;#&amp;lt;head&amp;gt;&lt;/code&gt; is optional." onmousemove="i18n(this)">&Tcy;&rcy;&iecy;&bcy;&ucy;&iecy;&tcy;&scy;&yacy;  <code>&lt;URL&gt;</code> ;  <code>#&lt;head&gt;</code>  &ncy;&iecy; &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &ocy;&bcy;&yacy;&zcy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&ycy;&mcy;.</span></p> <p><span data-i18n="f5b1466c0a8aea09a0dea6cd3656514e9f9e0bee26adaea9fdaa20341d558896/a5" data-source="Depending on the operation, git will use one of the following refspecs, if you don&amp;rsquo;t provide one on the command line. &lt;code&gt;&amp;lt;branch&amp;gt;&lt;/code&gt; is the name of this file in &lt;code&gt;$GIT_DIR/branches&lt;/code&gt; and &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; defaults to &lt;code&gt;master&lt;/code&gt;." onmousemove="i18n(this)">&Vcy; &zcy;&acy;&vcy;&icy;&scy;&icy;&mcy;&ocy;&scy;&tcy;&icy; &ocy;&tcy; &ocy;&pcy;&iecy;&rcy;&acy;&tscy;&icy;&icy;  git  &bcy;&ucy;&dcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &ocy;&dcy;&ncy;&ucy; &icy;&zcy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&khcy; &scy;&pcy;&iecy;&tscy;&icy;&fcy;&icy;&kcy;&acy;&tscy;&icy;&jcy;, &iecy;&scy;&lcy;&icy; &vcy;&ycy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&lcy;&icy; &iecy;&iecy; &vcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&iecy;.  <code>&lt;branch&gt;</code>  &mdash; &ecy;&tcy;&ocy; &icy;&mcy;&yacy; &ecy;&tcy;&ocy;&gcy;&ocy; &fcy;&acy;&jcy;&lcy;&acy; &vcy;  <code>$GIT_DIR/branches</code> , &acy;  <code>&lt;head&gt;</code>  &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &mdash;  <code>master</code> .</span></p> <p><span data-i18n="6a1663a199922da0f6a34eaae978ae1f92982e2d54bec763c6b5839168ea8cfe/b6" data-source="git fetch uses:" onmousemove="i18n(this)">&Dcy;&lcy;&yacy; &vcy;&ycy;&bcy;&ocy;&rcy;&kcy;&icy;  git  &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yucy;&tcy;&scy;&yacy;:</span></p> <div> <div> <pre class="hljs language-ruby">        refs/heads/&lt;head&gt;<span class="hljs-symbol">:refs/heads/&lt;branch&gt;</span></pre> </div> </div> <p><span data-i18n="356ca93a778281d33880d1d4adb23c12462da4aeba4abd3265638eff53d2ab78/26" data-source="git push uses:" onmousemove="i18n(this)">git  push &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;:</span></p> <div> <div> <pre class="hljs language-ruby">        <span class="hljs-variable constant_">HEAD</span><span class="hljs-symbol">:refs/heads/&lt;head&gt;</span></pre> </div> </div> </div> </div> <h2 class="text-body-emphasis"  id="_output"><span data-i18n="b2439bcb8dee14b685f137f294b0e0cb62f5aadf45143ce01d79777d435a93b4/6b" data-source="Output" onmousemove="i18n(this)">Output</span></h2> <div> <p><span data-i18n="bd617deb53b1000fdaba41a0b27f98102d63b7938fc7c94378ca55b6a04dd7ea/d6" data-source="The output of &amp;quot;git push&amp;quot; depends on the transport method used; this section describes the output when pushing over the Git protocol (either locally or via ssh)." onmousemove="i18n(this)">&Vcy;&ycy;&khcy;&ocy;&dcy;&ncy;&ycy;&iecy; &dcy;&acy;&ncy;&ncy;&ycy;&iecy;  &quot;git push&quot;  &zcy;&acy;&vcy;&icy;&scy;&yacy;&tcy; &ocy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&mcy;&ocy;&gcy;&ocy; &mcy;&iecy;&tcy;&ocy;&dcy;&acy; &tcy;&rcy;&acy;&ncy;&scy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ocy;&vcy;&kcy;&icy;; &vcy; &ecy;&tcy;&ocy;&mcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy; &ocy;&pcy;&icy;&scy;&ycy;&vcy;&acy;&yucy;&tcy;&scy;&yacy; &vcy;&ycy;&khcy;&ocy;&dcy;&ncy;&ycy;&iecy; &dcy;&acy;&ncy;&ncy;&ycy;&iecy; &pcy;&rcy;&icy; &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&chcy;&iecy; &pcy;&rcy;&ocy;&tcy;&ocy;&kcy;&ocy;&lcy;&acy;  Git  (&lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ocy; &icy;&lcy;&icy; &chcy;&iecy;&rcy;&iecy;&zcy; ssh).</span></p> <p><span data-i18n="25a80f8cf1b8f423db5f68b0f735bd69263824399de29ec1c54b27597402b448/65" data-source="The status of the push is output in tabular form, with each line representing the status of a single ref. Each line is of the form:" onmousemove="i18n(this)">&Scy;&tcy;&acy;&tcy;&ucy;&scy; push &vcy;&ycy;&vcy;&ocy;&dcy;&icy;&tcy;&scy;&yacy; &vcy; &tcy;&acy;&bcy;&lcy;&icy;&chcy;&ncy;&ocy;&jcy; &fcy;&ocy;&rcy;&mcy;&iecy;, &gcy;&dcy;&iecy; &kcy;&acy;&zhcy;&dcy;&acy;&yacy; &scy;&tcy;&rcy;&ocy;&kcy;&acy; &pcy;&rcy;&iecy;&dcy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy; &scy;&tcy;&acy;&tcy;&ucy;&scy; &ocy;&dcy;&ncy;&ocy;&jcy; &scy;&scy;&ycy;&lcy;&kcy;&icy;. &Kcy;&acy;&zhcy;&dcy;&acy;&yacy; &scy;&tcy;&rcy;&ocy;&kcy;&acy; &icy;&mcy;&iecy;&iecy;&tcy; &vcy;&icy;&dcy;:</span></p> <div> <div> <pre class="hljs language-xml"> <span class="hljs-tag">&lt;<span class="hljs-name">flag</span>&gt;</span> <span class="hljs-tag">&lt;<span class="hljs-name">summary</span>&gt;</span> <span class="hljs-tag">&lt;<span class="hljs-name">from</span>&gt;</span> -&gt; <span class="hljs-tag">&lt;<span class="hljs-name">to</span>&gt;</span> (<span class="hljs-tag">&lt;<span class="hljs-name">reason</span>&gt;</span>)</pre> </div> </div> <p><span data-i18n="a95fcd301f202528c3d56da9b7619739721db80a8931b62fdc0604fef3cdeb73/fb" data-source="If --porcelain is used, then each line of the output is of the form:" onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; --porcelain, &tcy;&ocy; &kcy;&acy;&zhcy;&dcy;&acy;&yacy; &scy;&tcy;&rcy;&ocy;&kcy;&acy; &vcy;&ycy;&vcy;&ocy;&dcy;&acy; &icy;&mcy;&iecy;&iecy;&tcy; &vcy;&icy;&dcy;:</span></p> <div> <div> <pre class="hljs language-xml"> <span class="hljs-tag">&lt;<span class="hljs-name">flag</span>&gt;</span> \t <span class="hljs-tag">&lt;<span class="hljs-name">from</span>&gt;</span>:<span class="hljs-tag">&lt;<span class="hljs-name">to</span>&gt;</span> \t <span class="hljs-tag">&lt;<span class="hljs-name">summary</span>&gt;</span> (<span class="hljs-tag">&lt;<span class="hljs-name">reason</span>&gt;</span>)</pre> </div> </div> <p><span data-i18n="3e3d6cc7c7b0254e44ab3f7e2c3761ead1cbbdd982d0a40399eff208b73b3760/4c" data-source="The status of up-to-date refs is shown only if --porcelain or --verbose option is used." onmousemove="i18n(this)">&Scy;&tcy;&acy;&tcy;&ucy;&scy; &acy;&kcy;&tcy;&ucy;&acy;&lcy;&softcy;&ncy;&ycy;&khcy; &scy;&scy;&ycy;&lcy;&ocy;&kcy; &ocy;&tcy;&ocy;&bcy;&rcy;&acy;&zhcy;&acy;&iecy;&tcy;&scy;&yacy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &vcy; &tcy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy;, &iecy;&scy;&lcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &ocy;&pcy;&tscy;&icy;&yacy; --porcelain &icy;&lcy;&icy; --verbose.</span></p> <div> <dl> <dt id="Documentation/git-push.txt-flag"><span data-i18n="807d0fbcae7c4b20518d4d85664f6820aafdf936104122c5073e7744c46c4b87/f6" data-source="flag" onmousemove="i18n(this)">flag</span></dt> <dd> <p><span data-i18n="fa8b9c0ba1ba287bcd616c21c32cb809bb4358a42d0aac719e5cb50b5b813df5/06" data-source="A single character indicating the status of the ref:" onmousemove="i18n(this)">&Ocy;&dcy;&icy;&ncy; &scy;&icy;&mcy;&vcy;&ocy;&lcy;, &ocy;&bcy;&ocy;&zcy;&ncy;&acy;&chcy;&acy;&yucy;&shchcy;&icy;&jcy; &scy;&tcy;&acy;&tcy;&ucy;&scy; &scy;&scy;&ycy;&lcy;&kcy;&icy;:</span></p> <div> <dl> <dt id="Documentation/git-push.txt-space"><span data-i18n="a9e06ccc0d0e2f974f408294024ce99d77e6a02aa6ecdf61bdb184774093291f/13" data-source="(space)" onmousemove="i18n(this)">(space)</span></dt> <dd> <p><span data-i18n="adbb0d9212319d91010d587d1658c49757cb38baa67f8325c900b49a305deaeb/2b" data-source="for a successfully pushed fast-forward;" onmousemove="i18n(this)">&zcy;&acy; &ucy;&scy;&pcy;&iecy;&shcy;&ncy;&ucy;&yucy; &pcy;&iecy;&rcy;&iecy;&mcy;&ocy;&tcy;&kcy;&ucy; &vcy;&pcy;&iecy;&rcy;&iecy;&dcy;;</span></p> </dd> <dt id="Documentation/git-push.txt-codecode"> <code>+</code> </dt> <dd> <p><span data-i18n="b665c770dc5ff1b1c8613656e982a77e02fe4ff14cf1d205b60dc78dd827fee4/3a" data-source="for a successful forced update;" onmousemove="i18n(this)">&dcy;&lcy;&yacy; &ucy;&scy;&pcy;&iecy;&shcy;&ncy;&ocy;&gcy;&ocy; &pcy;&rcy;&icy;&ncy;&ucy;&dcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&gcy;&ocy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy;;</span></p> </dd> <dt id="Documentation/git-push.txt-code-code"> <code>-</code> </dt> <dd> <p><span data-i18n="c3623d830963fbb843c3a8ddb7a48a7d9599cfb55feaf719bbf88786183cbad2/c6" data-source="for a successfully deleted ref;" onmousemove="i18n(this)">&zcy;&acy; &ucy;&scy;&pcy;&iecy;&shcy;&ncy;&ocy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ycy;&jcy; &rcy;&iecy;&fcy;;</span></p> </dd> <dt id="Documentation/git-push.txt-codecode-1"> <code>*</code> </dt> <dd> <p><span data-i18n="0d3d3abf9dabc80dc81690045a297eef663bcc0abe99980fd0f77675d64bbd5e/4c" data-source="for a successfully pushed new ref;" onmousemove="i18n(this)">&dcy;&lcy;&yacy; &ucy;&scy;&pcy;&iecy;&shcy;&ncy;&ocy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&ncy;&ocy;&jcy; &ncy;&ocy;&vcy;&ocy;&jcy; &scy;&scy;&ycy;&lcy;&kcy;&icy;;</span></p> </dd> <dt id="Documentation/git-push.txt-codecode-1-1"> <code>!</code> </dt> <dd> <p><span data-i18n="1c6c562aa8597b818b421a2f4cfccf7c32fe3f1032ea7b02059e276fd472127a/a0" data-source="for a ref that was rejected or failed to push; and" onmousemove="i18n(this)">&zcy;&acy; &rcy;&iecy;&fcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &bcy;&ycy;&lcy; &ocy;&tcy;&kcy;&lcy;&ocy;&ncy;&iecy;&ncy; &icy;&lcy;&icy; &ncy;&iecy; &bcy;&ycy;&lcy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;; &icy;</span></p> </dd> <dt id="Documentation/git-push.txt-codecode-1-1-1"> <code>=</code> </dt> <dd> <p><span data-i18n="ac6208a8ccce8f336d8ecbf82de327103792e2b984425cadb45ec071fc822d03/47" data-source="for a ref that was up to date and did not need pushing." onmousemove="i18n(this)">&dcy;&lcy;&yacy; &scy;&scy;&ycy;&lcy;&kcy;&icy;, &kcy;&ocy;&tcy;&ocy;&rcy;&acy;&yacy; &bcy;&ycy;&lcy;&acy; &acy;&kcy;&tcy;&ucy;&acy;&lcy;&softcy;&ncy;&ocy;&jcy; &icy; &ncy;&iecy; &ncy;&ucy;&zhcy;&dcy;&acy;&lcy;&acy;&scy;&softcy; &vcy; &ncy;&acy;&zhcy;&acy;&tcy;&icy;&icy;.</span></p> </dd> </dl> </div> </dd> <dt id="Documentation/git-push.txt-summary"><span data-i18n="761b7ad8ad439b2855fcbb611331c646ef0870b0631247bba3f3025cb6df5a53/50" data-source="summary" onmousemove="i18n(this)">summary</span></dt> <dd> <p><span data-i18n="98e278002abf19a88dacb3c11bfb05681ea1849190ce14371fc8c20428b86003/47" data-source="For a successfully pushed ref, the summary shows the old and new values of the ref in a form suitable for using as an argument to &lt;code&gt;git log&lt;/code&gt; (this is &lt;code&gt;&amp;lt;old&amp;gt;..&amp;lt;new&amp;gt;&lt;/code&gt; in most cases, and &lt;code&gt;&amp;lt;old&amp;gt;...&amp;lt;new&amp;gt;&lt;/code&gt; for forced non-fast-forward updates)." onmousemove="i18n(this)">&Dcy;&lcy;&yacy; &ucy;&scy;&pcy;&iecy;&shcy;&ncy;&ocy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&ncy;&ocy;&jcy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &vcy; &scy;&vcy;&ocy;&dcy;&kcy;&iecy; &ocy;&tcy;&ocy;&bcy;&rcy;&acy;&zhcy;&acy;&yucy;&tcy;&scy;&yacy; &scy;&tcy;&acy;&rcy;&ycy;&iecy; &icy; &ncy;&ocy;&vcy;&ycy;&iecy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &vcy; &fcy;&ocy;&rcy;&mcy;&iecy;, &pcy;&ocy;&dcy;&khcy;&ocy;&dcy;&yacy;&shchcy;&iecy;&jcy; &dcy;&lcy;&yacy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &acy;&rcy;&gcy;&ucy;&mcy;&iecy;&ncy;&tcy;&acy; &dcy;&lcy;&yacy;  <code>git log</code>  (&vcy; &bcy;&ocy;&lcy;&softcy;&shcy;&icy;&ncy;&scy;&tcy;&vcy;&iecy; &scy;&lcy;&ucy;&chcy;&acy;&iecy;&vcy; &ecy;&tcy;&ocy;  <code>&lt;old&gt;..&lt;new&gt;</code>  &icy;  <code>&lt;old&gt;...&lt;new&gt;</code>  &dcy;&lcy;&yacy; &pcy;&rcy;&icy;&ncy;&ucy;&dcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&gcy;&ocy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &bcy;&iecy;&zcy; &pcy;&iecy;&rcy;&iecy;&mcy;&ocy;&tcy;&kcy;&icy; &vcy;&pcy;&iecy;&rcy;&iecy;&dcy;).</span></p> <p><span data-i18n="cccda597605aac6f1eb1cf63129d2340884f6fe8c48a8849adda70636d8bf5d2/b7" data-source="For a failed update, more details are given:" onmousemove="i18n(this)">&Dcy;&lcy;&yacy; &ncy;&iecy;&ucy;&dcy;&acy;&chcy;&ncy;&ocy;&gcy;&ocy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &dcy;&acy;&iecy;&tcy;&scy;&yacy; &bcy;&ocy;&lcy;&iecy;&iecy; &pcy;&ocy;&dcy;&rcy;&ocy;&bcy;&ncy;&acy;&yacy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&yacy;:</span></p> <div> <div> <div> <dl> <dt id="Documentation/git-push.txt-rejected"><span data-i18n="20cd938a2ea64f612b3523bc9219130c6fc66cd09b394ea38437488c0b8898b2/c8" data-source="rejected" onmousemove="i18n(this)">rejected</span></dt> <dd> <p><span data-i18n="c90cd0b0e5156c1942d64866554553b3cb9c85b525bffcce2ce9e9234127284d/bf" data-source="Git did not try to send the ref at all, typically because it is not a fast-forward and you did not force the update." onmousemove="i18n(this)">Git  &vcy;&ocy;&ocy;&bcy;&shchcy;&iecy; &ncy;&iecy; &pcy;&ycy;&tcy;&acy;&lcy;&scy;&yacy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&icy;&tcy;&softcy; &scy;&scy;&ycy;&lcy;&kcy;&ucy;, &ocy;&bcy;&ycy;&chcy;&ncy;&ocy; &pcy;&ocy;&tcy;&ocy;&mcy;&ucy;, &chcy;&tcy;&ocy; &ecy;&tcy;&ocy; &ncy;&iecy; &pcy;&iecy;&rcy;&iecy;&mcy;&ocy;&tcy;&kcy;&acy; &vcy;&pcy;&iecy;&rcy;&iecy;&dcy; &icy; &vcy;&ycy; &ncy;&iecy; &pcy;&rcy;&icy;&ncy;&ucy;&dcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&icy;&lcy;&icy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy;.</span></p> </dd> <dt id="Documentation/git-push.txt-remoterejected"><span data-i18n="d713f9295319634dd3dfaf673a00150e45bc565f366891119230139dbca29e79/06" data-source="remote rejected" onmousemove="i18n(this)">remote rejected</span></dt> <dd> <p><span data-i18n="fbb09008a7cd0be259f958e1cbc0910d129153c4dc37c56b0129b898dc07bbd5/ee" data-source="The remote end refused the update. Usually caused by a hook on the remote side, or because the remote repository has one of the following safety options in effect: &lt;code&gt;receive.denyCurrentBranch&lt;/code&gt; (for pushes to the checked out branch), &lt;code&gt;receive.denyNonFastForwards&lt;/code&gt; (for forced non-fast-forward updates), &lt;code&gt;receive.denyDeletes&lt;/code&gt; or &lt;code&gt;receive.denyDeleteCurrent&lt;/code&gt;. See &lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt;." onmousemove="i18n(this)">&Ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&acy;&yacy; &scy;&tcy;&ocy;&rcy;&ocy;&ncy;&acy; &ocy;&tcy;&kcy;&acy;&zcy;&acy;&lcy;&acy;&scy;&softcy; &ocy;&tcy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy;. &Ocy;&bcy;&ycy;&chcy;&ncy;&ocy; &vcy;&ocy;&zcy;&ncy;&icy;&kcy;&acy;&iecy;&tcy; &icy;&zcy;-&zcy;&acy; &pcy;&iecy;&rcy;&iecy;&khcy;&vcy;&acy;&tcy;&acy; &ncy;&acy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&jcy; &scy;&tcy;&ocy;&rcy;&ocy;&ncy;&iecy; &icy;&lcy;&icy; &icy;&zcy;-&zcy;&acy; &tcy;&ocy;&gcy;&ocy;, &chcy;&tcy;&ocy; &vcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&mcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy; &dcy;&iecy;&jcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &ocy;&dcy;&ncy;&acy; &icy;&zcy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&khcy; &ocy;&pcy;&tscy;&icy;&jcy; &bcy;&iecy;&zcy;&ocy;&pcy;&acy;&scy;&ncy;&ocy;&scy;&tcy;&icy;:  <code>receive.denyCurrentBranch</code>  (&dcy;&lcy;&yacy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy; &vcy; &icy;&zcy;&vcy;&lcy;&iecy;&chcy;&iecy;&ncy;&ncy;&ucy;&yucy; &vcy;&iecy;&tcy;&kcy;&ucy;),  <code>receive.denyNonFastForwards</code>  (&dcy;&lcy;&yacy; &pcy;&rcy;&icy;&ncy;&ucy;&dcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ycy;&khcy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&jcy; &bcy;&iecy;&zcy; &pcy;&iecy;&rcy;&iecy;&mcy;&ocy;&tcy;&kcy;&icy; &vcy;&pcy;&iecy;&rcy;&iecy;&dcy;),  <code>receive.denyDeletes</code>  &icy;&lcy;&icy;  <code>receive.denyDeleteCurrent</code>  . &Scy;&mcy;.  <a href="git-config.html">git-config[1]</a> .</span></p> </dd> <dt id="Documentation/git-push.txt-remotefailure"><span data-i18n="addacaef9d4d4799eb39fec627e4263d82aa5d109e7f05e76f2b9867e2eaf75c/41" data-source="remote failure" onmousemove="i18n(this)">remote failure</span></dt> <dd> <p><span data-i18n="bf03612d9e4fd067faa10837d0e2a58475881fe409e63ccfe71d5bfc745176e0/16" data-source="The remote end did not report the successful update of the ref, perhaps because of a temporary error on the remote side, a break in the network connection, or other transient error." onmousemove="i18n(this)">&Ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&acy;&yacy; &scy;&tcy;&ocy;&rcy;&ocy;&ncy;&acy; &ncy;&iecy; &scy;&ocy;&ocy;&bcy;&shchcy;&icy;&lcy;&acy; &ocy;&bcy; &ucy;&scy;&pcy;&iecy;&shcy;&ncy;&ocy;&mcy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&icy; &scy;&scy;&ycy;&lcy;&kcy;&icy;, &vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy;, &icy;&zcy;-&zcy;&acy; &vcy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&jcy; &ocy;&shcy;&icy;&bcy;&kcy;&icy; &ncy;&acy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&jcy; &scy;&tcy;&ocy;&rcy;&ocy;&ncy;&iecy;, &rcy;&acy;&zcy;&rcy;&ycy;&vcy;&acy; &scy;&iecy;&tcy;&iecy;&vcy;&ocy;&gcy;&ocy; &scy;&ocy;&iecy;&dcy;&icy;&ncy;&iecy;&ncy;&icy;&yacy; &icy;&lcy;&icy; &dcy;&rcy;&ucy;&gcy;&ocy;&jcy; &vcy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&jcy; &ocy;&shcy;&icy;&bcy;&kcy;&icy;.</span></p> </dd> </dl> </div> </div> </div> </dd> <dt id="Documentation/git-push.txt-from"><span data-i18n="75857a45899985be4c4d941e90b6b396d6c92a4c7437aaf0bf102089fe21379d/d6" data-source="from" onmousemove="i18n(this)">from</span></dt> <dd> <p><span data-i18n="4cfa4baf5ecf048091338835377f57a6dd06a948fcbe5c3b40adde989285acc0/28" data-source="The name of the local ref being pushed, minus its &lt;code&gt;refs/&amp;lt;type&amp;gt;/&lt;/code&gt; prefix. In the case of deletion, the name of the local ref is omitted." onmousemove="i18n(this)">&Icy;&mcy;&yacy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&iecy;&mcy;&ocy;&jcy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ocy;&jcy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &zcy;&acy; &vcy;&ycy;&chcy;&iecy;&tcy;&ocy;&mcy; &pcy;&rcy;&iecy;&fcy;&icy;&kcy;&scy;&acy;  <code>refs/&lt;type&gt;/</code> . &Vcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&icy;&yacy; &icy;&mcy;&yacy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ocy;&jcy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &ocy;&pcy;&ucy;&scy;&kcy;&acy;&iecy;&tcy;&scy;&yacy;.</span></p> </dd> <dt id="Documentation/git-push.txt-to"><span data-i18n="663ea1bfffe5038f3f0cf667f14c4257eff52d77ce7f2a218f72e9286616ea39/8d" data-source="to" onmousemove="i18n(this)">to</span></dt> <dd> <p><span data-i18n="5431b57575a7e41de9bc1d3868b4ec19ff358a2e7bb8e1dc594afcd18c9ff815/f4" data-source="The name of the remote ref being updated, minus its &lt;code&gt;refs/&amp;lt;type&amp;gt;/&lt;/code&gt; prefix." onmousemove="i18n(this)">&Icy;&mcy;&yacy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&iecy;&mcy;&ocy;&jcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&jcy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &zcy;&acy; &vcy;&ycy;&chcy;&iecy;&tcy;&ocy;&mcy; &pcy;&rcy;&iecy;&fcy;&icy;&kcy;&scy;&acy;  <code>refs/&lt;type&gt;/</code> .</span></p> </dd> <dt id="Documentation/git-push.txt-reason"><span data-i18n="8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be/ee" data-source="reason" onmousemove="i18n(this)">reason</span></dt> <dd> <p><span data-i18n="2ec092fa18b5bed22007d9c3656cc1a68d7128aebc21440c7e28f28a57e27152/d5" data-source="A human-readable explanation. In the case of successfully pushed refs, no explanation is needed. For a failed ref, the reason for failure is described." onmousemove="i18n(this)">&CHcy;&iecy;&lcy;&ocy;&vcy;&iecy;&kcy;&ocy;&chcy;&icy;&tcy;&acy;&iecy;&mcy;&ocy;&iecy; &ocy;&bcy;&hardcy;&yacy;&scy;&ncy;&iecy;&ncy;&icy;&iecy;. &Vcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &ucy;&scy;&pcy;&iecy;&shcy;&ncy;&ocy;&jcy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy; &scy;&scy;&ycy;&lcy;&ocy;&kcy; &ncy;&icy;&kcy;&acy;&kcy;&icy;&khcy; &ocy;&bcy;&hardcy;&yacy;&scy;&ncy;&iecy;&ncy;&icy;&jcy; &ncy;&iecy; &tcy;&rcy;&iecy;&bcy;&ucy;&iecy;&tcy;&scy;&yacy;. &Dcy;&lcy;&yacy; &ncy;&iecy;&ucy;&dcy;&acy;&chcy;&ncy;&ocy;&jcy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &ocy;&pcy;&icy;&scy;&ycy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &pcy;&rcy;&icy;&chcy;&icy;&ncy;&acy; &ncy;&iecy;&ucy;&dcy;&acy;&chcy;&icy;.</span></p> </dd> </dl> </div> </div> <h2 class="text-body-emphasis"  id="_note_about_fast_forwards"><span data-i18n="2b3ea964e3bf1a9bd9c2a6107ca2af1def7bf94f3f8c2a0a3acad76dc54c8e3f/99" data-source="Note about fast-forwards" onmousemove="i18n(this)">&Pcy;&rcy;&icy;&mcy;&iecy;&chcy;&acy;&ncy;&icy;&iecy; &ocy; &bcy;&ycy;&scy;&tcy;&rcy;&ocy;&jcy; &pcy;&iecy;&rcy;&iecy;&mcy;&ocy;&tcy;&kcy;&iecy; &vcy;&pcy;&iecy;&rcy;&iecy;&dcy;</span></h2> <div> <p><span data-i18n="eff9cbb886bc8701f3da3e7fcbe597ec71b805ec032f9c41f3ac48681413e440/b4" data-source="When an update changes a branch (or more in general, a ref) that used to point at commit A to point at another commit B, it is called a fast-forward update if and only if B is a descendant of A." onmousemove="i18n(this)">&Kcy;&ocy;&gcy;&dcy;&acy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&yacy;&iecy;&tcy; &vcy;&iecy;&tcy;&kcy;&ucy; (&icy;&lcy;&icy;, &vcy; &bcy;&ocy;&lcy;&iecy;&iecy; &ocy;&bcy;&shchcy;&iecy;&mcy; &scy;&mcy;&ycy;&scy;&lcy;&iecy;, &scy;&scy;&ycy;&lcy;&kcy;&ucy;), &kcy;&ocy;&tcy;&ocy;&rcy;&acy;&yacy; &rcy;&acy;&ncy;&softcy;&shcy;&iecy; &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&lcy;&acy; &ncy;&acy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&yucy; A, &ncy;&acy; &dcy;&rcy;&ucy;&gcy;&ucy;&yucy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&yucy; B, &ecy;&tcy;&ocy; &ncy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &ucy;&scy;&kcy;&ocy;&rcy;&iecy;&ncy;&ncy;&ycy;&mcy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy;&mcy; &tcy;&ocy;&gcy;&dcy;&acy; &icy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &tcy;&ocy;&gcy;&dcy;&acy;, &kcy;&ocy;&gcy;&dcy;&acy; B &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &pcy;&ocy;&tcy;&ocy;&mcy;&kcy;&ocy;&mcy; A.</span></p> <p><span data-i18n="c4007a9c7d9a279ada7f34272d79f626635420c16ba1137b6859cc8b906328e2/2b" data-source="In a fast-forward update from A to B, the set of commits that the original commit A built on top of is a subset of the commits the new commit B builds on top of. Hence, it does not lose any history." onmousemove="i18n(this)">&Pcy;&rcy;&icy; &ucy;&scy;&kcy;&ocy;&rcy;&iecy;&ncy;&ncy;&ocy;&mcy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&icy; &ocy;&tcy; A &dcy;&ocy; B &ncy;&acy;&bcy;&ocy;&rcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;, &pcy;&ocy;&vcy;&iecy;&rcy;&khcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&khcy; &pcy;&ocy;&scy;&tcy;&rcy;&ocy;&iecy;&ncy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ycy;&jcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy; A, &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &pcy;&ocy;&dcy;&mcy;&ncy;&ocy;&zhcy;&iecy;&scy;&tcy;&vcy;&ocy;&mcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;, &pcy;&ocy;&vcy;&iecy;&rcy;&khcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&khcy; &scy;&tcy;&rcy;&ocy;&icy;&tcy;&scy;&yacy; &ncy;&ocy;&vcy;&ycy;&jcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy; B. &Scy;&lcy;&iecy;&dcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;, &ocy;&ncy; &ncy;&iecy; &tcy;&iecy;&rcy;&yacy;&iecy;&tcy; &ncy;&icy;&kcy;&acy;&kcy;&ocy;&jcy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&icy;.</span></p> <p><span data-i18n="6d6971f9af0976e87dfb1db3a27a666f13c5243937f06b123da07d766a0d0305/6b" data-source="In contrast, a non-fast-forward update will lose history. For example, suppose you and somebody else started at the same commit X, and you built a history leading to commit B while the other person built a history leading to commit A. The history looks like this:" onmousemove="i18n(this)">&Ncy;&acy;&pcy;&rcy;&ocy;&tcy;&icy;&vcy;, &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy; &bcy;&iecy;&zcy; &pcy;&iecy;&rcy;&iecy;&mcy;&ocy;&tcy;&kcy;&icy; &vcy;&pcy;&iecy;&rcy;&iecy;&dcy; &pcy;&ocy;&tcy;&iecy;&rcy;&yacy;&iecy;&tcy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&yucy;. &Ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &pcy;&rcy;&iecy;&dcy;&pcy;&ocy;&lcy;&ocy;&zhcy;&icy;&mcy;, &chcy;&tcy;&ocy; &vcy;&ycy; &icy; &kcy;&tcy;&ocy;-&tcy;&ocy; &iecy;&shchcy;&iecy; &ncy;&acy;&chcy;&acy;&lcy;&icy; &scy; &ocy;&dcy;&ncy;&ocy;&gcy;&ocy; &icy; &tcy;&ocy;&gcy;&ocy; &zhcy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy; X, &icy; &vcy;&ycy; &pcy;&ocy;&scy;&tcy;&rcy;&ocy;&icy;&lcy;&icy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&yucy;, &vcy;&iecy;&dcy;&ucy;&shchcy;&ucy;&yucy; &kcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ucy; B, &vcy; &tcy;&ocy; &vcy;&rcy;&iecy;&mcy;&yacy; &kcy;&acy;&kcy; &dcy;&rcy;&ucy;&gcy;&ocy;&jcy; &chcy;&iecy;&lcy;&ocy;&vcy;&iecy;&kcy; &pcy;&ocy;&scy;&tcy;&rcy;&ocy;&icy;&lcy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&yucy;, &vcy;&iecy;&dcy;&ucy;&shchcy;&ucy;&yucy; &kcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ucy; A. &Icy;&scy;&tcy;&ocy;&rcy;&icy;&yacy; &vcy;&ycy;&gcy;&lcy;&yacy;&dcy;&icy;&tcy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&mcy; &ocy;&bcy;&rcy;&acy;&zcy;&ocy;&mcy;:</span></p> <div> <div> <pre class="hljs language-css">      <span class="hljs-selector-tag">B</span>
     /
 -<span class="hljs-attr">--X---A</span></pre> </div> </div> <p><span data-i18n="8fe33b41bbb33442df2d491faa7c5a72a9e1bc7abc78da6843ec1c45bd9e18f1/fb" data-source="Further suppose that the other person already pushed changes leading to A back to the original repository from which you two obtained the original commit X." onmousemove="i18n(this)">&Dcy;&acy;&lcy;&iecy;&iecy; &pcy;&rcy;&iecy;&dcy;&pcy;&ocy;&lcy;&ocy;&zhcy;&icy;&mcy;, &chcy;&tcy;&ocy; &dcy;&rcy;&ucy;&gcy;&ocy;&jcy; &chcy;&iecy;&lcy;&ocy;&vcy;&iecy;&kcy; &ucy;&zhcy;&iecy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&icy;&lcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;, &vcy;&iecy;&dcy;&ucy;&shchcy;&icy;&iecy; &kcy; A, &ocy;&bcy;&rcy;&acy;&tcy;&ncy;&ocy; &vcy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ycy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;, &icy;&zcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&gcy;&ocy; &vcy;&ycy; &dcy;&vcy;&ocy;&iecy; &pcy;&ocy;&lcy;&ucy;&chcy;&icy;&lcy;&icy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ycy;&jcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy; X.</span></p> <p><span data-i18n="d11b3ca3eed3dba9061796cda18c27144eff629eee69cc667fb25d3113471e2b/a3" data-source="The push done by the other person updated the branch that used to point at commit X to point at commit A. It is a fast-forward." onmousemove="i18n(this)">&Ncy;&acy;&zhcy;&acy;&tcy;&icy;&iecy;, &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&ncy;&ocy;&iecy; &dcy;&rcy;&ucy;&gcy;&icy;&mcy; &chcy;&iecy;&lcy;&ocy;&vcy;&iecy;&kcy;&ocy;&mcy;, &ocy;&bcy;&ncy;&ocy;&vcy;&icy;&lcy;&ocy; &vcy;&iecy;&tcy;&kcy;&ucy;, &kcy;&ocy;&tcy;&ocy;&rcy;&acy;&yacy; &rcy;&acy;&ncy;&softcy;&shcy;&iecy; &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&lcy;&acy; &ncy;&acy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy; X, &ncy;&acy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy; A. &Ecy;&tcy;&ocy; &bcy;&ycy;&scy;&tcy;&rcy;&acy;&yacy; &pcy;&iecy;&rcy;&iecy;&mcy;&ocy;&tcy;&kcy;&acy; &vcy;&pcy;&iecy;&rcy;&iecy;&dcy;.</span></p> <p><span data-i18n="b009ec8efab239c0cafdf8bcafdc1dad94163655a07804293dd61f741a6ae532/f3" data-source="But if you try to push, you will attempt to update the branch (that now points at A) with commit B. This does &lt;code&gt;not&lt;/code&gt; fast-forward. If you did so, the changes introduced by commit A will be lost, because everybody will now start building on top of B." onmousemove="i18n(this)">&Ncy;&ocy; &iecy;&scy;&lcy;&icy; &vcy;&ycy; &pcy;&ocy;&pcy;&ycy;&tcy;&acy;&iecy;&tcy;&iecy;&scy;&softcy; &ncy;&acy;&zhcy;&acy;&tcy;&softcy;, &vcy;&ycy; &pcy;&ocy;&pcy;&ycy;&tcy;&acy;&iecy;&tcy;&iecy;&scy;&softcy; &ocy;&bcy;&ncy;&ocy;&vcy;&icy;&tcy;&softcy; &vcy;&iecy;&tcy;&kcy;&ucy; (&kcy;&ocy;&tcy;&ocy;&rcy;&acy;&yacy; &tcy;&iecy;&pcy;&iecy;&rcy;&softcy; &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy; &ncy;&acy; A) &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; B. &Ecy;&tcy;&ocy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&iecy;&tcy;  <code>not</code>  &pcy;&iecy;&rcy;&iecy;&mcy;&ocy;&tcy;&kcy;&ucy; &vcy;&pcy;&iecy;&rcy;&iecy;&dcy;. &IEcy;&scy;&lcy;&icy; &vcy;&ycy; &ecy;&tcy;&ocy; &scy;&dcy;&iecy;&lcy;&acy;&iecy;&tcy;&iecy;, &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;, &vcy;&ncy;&iecy;&scy;&iecy;&ncy;&ncy;&ycy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&mcy; A, &bcy;&ucy;&dcy;&ucy;&tcy; &pcy;&ocy;&tcy;&iecy;&rcy;&yacy;&ncy;&ycy;, &pcy;&ocy;&tcy;&ocy;&mcy;&ucy; &chcy;&tcy;&ocy; &tcy;&iecy;&pcy;&iecy;&rcy;&softcy; &vcy;&scy;&iecy; &ncy;&acy;&chcy;&ncy;&ucy;&tcy; &scy;&tcy;&rcy;&ocy;&icy;&tcy;&softcy; &pcy;&ocy;&vcy;&iecy;&rcy;&khcy; B.</span></p> <p><span data-i18n="144aecc5654c8cd27b129df4305c21bc265efdd6db4226007f71c43774c06a9c/90" data-source="The command by default does not allow an update that is not a fast-forward to prevent such loss of history." onmousemove="i18n(this)">&Kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &ncy;&iecy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&acy;&iecy;&tcy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy;, &ncy;&iecy; &yacy;&vcy;&lcy;&yacy;&yucy;&shchcy;&iecy;&iecy;&scy;&yacy; &pcy;&iecy;&rcy;&iecy;&mcy;&ocy;&tcy;&kcy;&ocy;&jcy; &vcy;&pcy;&iecy;&rcy;&iecy;&dcy;, &chcy;&tcy;&ocy;&bcy;&ycy; &pcy;&rcy;&iecy;&dcy;&ocy;&tcy;&vcy;&rcy;&acy;&tcy;&icy;&tcy;&softcy; &tcy;&acy;&kcy;&ucy;&yucy; &ZeroWidthSpace;&ZeroWidthSpace;&pcy;&ocy;&tcy;&iecy;&rcy;&yucy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&icy;.</span></p> <p><span data-i18n="c0fe74b6bd275ed49c6c6dfc480aea7bc1165fb1e30afbdb8f73c1d302805db7/15" data-source="If you do not want to lose your work (history from X to B) or the work by the other person (history from X to A), you would need to first fetch the history from the repository, create a history that contains changes done by both parties, and push the result back." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &vcy;&ycy; &ncy;&iecy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &pcy;&ocy;&tcy;&iecy;&rcy;&yacy;&tcy;&softcy; &scy;&vcy;&ocy;&yucy; &rcy;&acy;&bcy;&ocy;&tcy;&ucy; (&icy;&scy;&tcy;&ocy;&rcy;&icy;&yucy; &ocy;&tcy; X &dcy;&ocy; B) &icy;&lcy;&icy; &rcy;&acy;&bcy;&ocy;&tcy;&ucy; &dcy;&rcy;&ucy;&gcy;&ocy;&gcy;&ocy; &chcy;&iecy;&lcy;&ocy;&vcy;&iecy;&kcy;&acy; (&icy;&scy;&tcy;&ocy;&rcy;&icy;&yucy; &ocy;&tcy; X &dcy;&ocy; A), &vcy;&acy;&mcy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ocy; &scy;&ncy;&acy;&chcy;&acy;&lcy;&acy; &pcy;&ocy;&lcy;&ucy;&chcy;&icy;&tcy;&softcy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&yucy; &icy;&zcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;, &scy;&ocy;&zcy;&dcy;&acy;&tcy;&softcy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&yucy;, &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&shchcy;&ucy;&yucy; &scy;&dcy;&iecy;&lcy;&acy;&ncy;&ncy;&ycy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;. &ocy;&bcy;&iecy;&icy;&mcy;&icy; &scy;&tcy;&ocy;&rcy;&ocy;&ncy;&acy;&mcy;&icy; &icy; &ocy;&tcy;&ocy;&dcy;&vcy;&icy;&ncy;&ucy;&tcy;&softcy; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&acy;&tcy; &ocy;&bcy;&rcy;&acy;&tcy;&ncy;&ocy;.</span></p> <p><span data-i18n="42ea76daa992452ec730302649191dd14fdcf9320a9c754a0fc325497bd040c5/c7" data-source="You can perform &amp;quot;git pull&amp;quot;, resolve potential conflicts, and &amp;quot;git push&amp;quot; the result. A &amp;quot;git pull&amp;quot; will create a merge commit C between commits A and B." onmousemove="i18n(this)">&Vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&softcy;  &quot;git pull&quot; , &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&icy;&tcy;&softcy; &pcy;&ocy;&tcy;&iecy;&ncy;&tscy;&icy;&acy;&lcy;&softcy;&ncy;&ycy;&iecy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&ycy; &icy; &pcy;&ocy;&lcy;&ucy;&chcy;&icy;&tcy;&softcy; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&acy;&tcy;  &quot;git push&quot; .  &quot;git pull&quot;  &scy;&ocy;&zcy;&dcy;&acy;&scy;&tcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; C &mcy;&iecy;&zhcy;&dcy;&ucy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;&mcy;&icy; A &icy; B.</span></p> <div> <div> <pre class="hljs language-css">      <span class="hljs-selector-tag">B</span>-<span class="hljs-attr">--C</span>
     /   /
 -<span class="hljs-attr">--X---A</span></pre> </div> </div> <p><span data-i18n="582c079ca81fee953aaca3df627b7d8348d49ab49e040f28f6f1c9cb4b356c8e/fa" data-source="Updating A with the resulting merge commit will fast-forward and your push will be accepted." onmousemove="i18n(this)">&Ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy; A &scy; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&icy;&rcy;&ucy;&yucy;&shchcy;&icy;&mcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&mcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &bcy;&ucy;&dcy;&iecy;&tcy; &pcy;&iecy;&rcy;&iecy;&mcy;&ocy;&tcy;&acy;&ncy;&ocy; &vcy;&pcy;&iecy;&rcy;&iecy;&dcy;, &icy; &vcy;&acy;&shcy; push &bcy;&ucy;&dcy;&iecy;&tcy; &pcy;&rcy;&icy;&ncy;&yacy;&tcy;.</span></p> <p><span data-i18n="f5ae5c0a401a4bb5d1b6d0b0a837149522cf02965e7dd5b5f477d144db4f0e68/a1" data-source="Alternatively, you can rebase your change between X and B on top of A, with &amp;quot;git pull --rebase&amp;quot;, and push the result back. The rebase will create a new commit D that builds the change between X and B on top of A." onmousemove="i18n(this)">&Vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &acy;&lcy;&softcy;&tcy;&iecy;&rcy;&ncy;&acy;&tcy;&icy;&vcy;&ycy; &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &pcy;&iecy;&rcy;&iecy;&ncy;&iecy;&scy;&tcy;&icy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&iecy; &mcy;&iecy;&zhcy;&dcy;&ucy; X &icy; B &pcy;&ocy;&vcy;&iecy;&rcy;&khcy; A &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy;  &quot;git pull --rebase&quot;  &icy; &vcy;&iecy;&rcy;&ncy;&ucy;&tcy;&softcy; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&acy;&tcy; &ocy;&bcy;&rcy;&acy;&tcy;&ncy;&ocy;. &Pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &scy;&ocy;&zcy;&dcy;&acy;&scy;&tcy; &ncy;&ocy;&vcy;&ycy;&jcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy; D, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &scy;&ocy;&zcy;&dcy;&acy;&scy;&tcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&iecy; &mcy;&iecy;&zhcy;&dcy;&ucy; X &icy; B &pcy;&ocy;&vcy;&iecy;&rcy;&khcy; A.</span></p> <div> <div> <pre class="hljs language-css">      <span class="hljs-selector-tag">B</span>   D
     /   /
 -<span class="hljs-attr">--X---A</span></pre> </div> </div> <p><span data-i18n="58ccb3d5667532b446976e47c62cca5eb110ce43b619565a346f7bb832649728/b5" data-source="Again, updating A with this commit will fast-forward and your push will be accepted." onmousemove="i18n(this)">&Ocy;&pcy;&yacy;&tcy;&softcy; &zhcy;&iecy;, &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy; A &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &ecy;&tcy;&ocy;&gcy;&ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy; &pcy;&rcy;&icy;&vcy;&iecy;&dcy;&iecy;&tcy; &kcy; &ucy;&scy;&kcy;&ocy;&rcy;&iecy;&ncy;&ncy;&ocy;&jcy; &pcy;&iecy;&rcy;&iecy;&mcy;&ocy;&tcy;&kcy;&iecy; &vcy;&pcy;&iecy;&rcy;&iecy;&dcy;, &icy; &vcy;&acy;&shcy; push &bcy;&ucy;&dcy;&iecy;&tcy; &pcy;&rcy;&icy;&ncy;&yacy;&tcy;.</span></p> <p><span data-i18n="e951c0bf60afacc4ff2aec0fe65d2cf18bf3a4ecf8b3cc69d28b567e408293dd/a7" data-source="There is another common situation where you may encounter non-fast-forward rejection when you try to push, and it is possible even when you are pushing into a repository nobody else pushes into. After you push commit A yourself (in the first picture in this section), replace it with &amp;quot;git commit --amend&amp;quot; to produce commit B, and you try to push it out, because forgot that you have pushed A out already. In such a case, and only if you are certain that nobody in the meantime fetched your earlier commit A (and started building on top of it), you can run &amp;quot;git push --force&amp;quot; to overwrite it. In other words, &amp;quot;git push --force&amp;quot; is a method reserved for a case where you do mean to lose history." onmousemove="i18n(this)">&Scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &iecy;&shchcy;&iecy; &ocy;&dcy;&ncy;&acy; &rcy;&acy;&scy;&pcy;&rcy;&ocy;&scy;&tcy;&rcy;&acy;&ncy;&iecy;&ncy;&ncy;&acy;&yacy; &scy;&icy;&tcy;&ucy;&acy;&tscy;&icy;&yacy;, &kcy;&ocy;&gcy;&dcy;&acy; &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &scy;&tcy;&ocy;&lcy;&kcy;&ncy;&ucy;&tcy;&softcy;&scy;&yacy; &scy; &ocy;&tcy;&kcy;&lcy;&ocy;&ncy;&iecy;&ncy;&icy;&iecy;&mcy; &bcy;&iecy;&zcy; &pcy;&iecy;&rcy;&iecy;&mcy;&ocy;&tcy;&kcy;&icy; &vcy;&pcy;&iecy;&rcy;&iecy;&dcy; &pcy;&rcy;&icy; &pcy;&ocy;&pcy;&ycy;&tcy;&kcy;&iecy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy;, &icy; &ecy;&tcy;&ocy; &vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy;, &dcy;&acy;&zhcy;&iecy; &iecy;&scy;&lcy;&icy; &vcy;&ycy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy;&iecy; &vcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;, &vcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &ncy;&icy;&kcy;&tcy;&ocy; &dcy;&rcy;&ucy;&gcy;&ocy;&jcy; &ncy;&iecy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy;. &Pcy;&ocy;&scy;&lcy;&iecy; &tcy;&ocy;&gcy;&ocy;, &kcy;&acy;&kcy; &vcy;&ycy; &scy;&acy;&mcy;&icy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&icy;&lcy;&icy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy; A (&ncy;&acy; &pcy;&iecy;&rcy;&vcy;&ocy;&mcy; &rcy;&icy;&scy;&ucy;&ncy;&kcy;&iecy; &vcy; &ecy;&tcy;&ocy;&mcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;), &zcy;&acy;&mcy;&iecy;&ncy;&icy;&tcy;&iecy; &iecy;&gcy;&ocy; &ncy;&acy;  &quot;git commit --amend&quot; , &chcy;&tcy;&ocy;&bcy;&ycy; &scy;&ocy;&zcy;&dcy;&acy;&tcy;&softcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy; B, &icy; &pcy;&ocy;&pcy;&ycy;&tcy;&acy;&jcy;&tcy;&iecy;&scy;&softcy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&icy;&tcy;&softcy; &iecy;&gcy;&ocy;, &pcy;&ocy;&tcy;&ocy;&mcy;&ucy; &chcy;&tcy;&ocy; &zcy;&acy;&bcy;&ycy;&lcy;&icy;, &chcy;&tcy;&ocy; &vcy;&ycy; &ucy;&zhcy;&iecy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&icy;&lcy;&icy; A. &Vcy; &tcy;&acy;&kcy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy;, &icy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &iecy;&scy;&lcy;&icy; &vcy;&ycy; &ucy;&vcy;&iecy;&rcy;&iecy;&ncy;&ycy;, &chcy;&tcy;&ocy; &ncy;&icy;&kcy;&tcy;&ocy; &zcy;&acy; &ecy;&tcy;&ocy; &vcy;&rcy;&iecy;&mcy;&yacy; &ncy;&iecy; &pcy;&ocy;&lcy;&ucy;&chcy;&icy;&lcy; &vcy;&acy;&shcy; &pcy;&rcy;&iecy;&dcy;&ycy;&dcy;&ucy;&shchcy;&icy;&jcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy; A (&icy; &ncy;&iecy; &ncy;&acy;&chcy;&acy;&lcy; &scy;&tcy;&rcy;&ocy;&icy;&tcy;&softcy; &pcy;&ocy;&vcy;&iecy;&rcy;&khcy; &ncy;&iecy;&gcy;&ocy;), &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &zcy;&acy;&pcy;&ucy;&scy;&tcy;&icy;&tcy;&softcy;  &quot;git push --force&quot; , &chcy;&tcy;&ocy;&bcy;&ycy; &pcy;&iecy;&rcy;&iecy;&zcy;&acy;&pcy;&icy;&scy;&acy;&tcy;&softcy; &iecy;&gcy;&ocy;. &Dcy;&rcy;&ucy;&gcy;&icy;&mcy;&icy; &scy;&lcy;&ocy;&vcy;&acy;&mcy;&icy;,  &quot;git push --force&quot;  &mdash; &ecy;&tcy;&ocy; &mcy;&iecy;&tcy;&ocy;&dcy;, &zcy;&acy;&rcy;&iecy;&zcy;&iecy;&rcy;&vcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&jcy; &dcy;&lcy;&yacy; &scy;&lcy;&ucy;&chcy;&acy;&yacy;, &kcy;&ocy;&gcy;&dcy;&acy; &vcy;&ycy; &dcy;&iecy;&jcy;&scy;&tcy;&vcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &pcy;&ocy;&tcy;&iecy;&rcy;&yacy;&tcy;&softcy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&yucy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_examples"><span data-i18n="e68ee04dff59551b7d1ae07a2f8a00dc61d841628948da3d2781630706a05e92/38" data-source="Examples" onmousemove="i18n(this)">Examples</span></h2> <div> <div> <dl> <dt id="Documentation/git-push.txt-codegitpushcode"> <code>git push</code> </dt> <dd> <p><span data-i18n="e9e5fba5b84a7d0e10780ce3dd7f0e11e8a0d67929d0b903a5464a8663f33ac9/c2" data-source="Works like &lt;code&gt;git push &amp;lt;remote&amp;gt;&lt;/code&gt;, where &amp;lt;remote&amp;gt; is the current branch&amp;rsquo;s remote (or &lt;code&gt;origin&lt;/code&gt;, if no remote is configured for the current branch)." onmousemove="i18n(this)">&Rcy;&acy;&bcy;&ocy;&tcy;&acy;&iecy;&tcy; &kcy;&acy;&kcy;  <code>git push &lt;remote&gt;</code>  , &gcy;&dcy;&iecy; &lt;remote&gt; &mdash; &ecy;&tcy;&ocy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ycy;&jcy; &dcy;&ocy;&scy;&tcy;&ucy;&pcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy; (&icy;&lcy;&icy;  <code>origin</code>  , &iecy;&scy;&lcy;&icy; &dcy;&lcy;&yacy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy; &ncy;&iecy; &ncy;&acy;&scy;&tcy;&rcy;&ocy;&iecy;&ncy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ycy;&jcy; &dcy;&ocy;&scy;&tcy;&ucy;&pcy;).</span></p> </dd> <dt id="Documentation/git-push.txt-codegitpushorigincode"> <code>git push origin</code> </dt> <dd> <p><span data-i18n="05a224708a137e603bb11a2221e0adeddd8bd2d320824779b21ecebd408b9100/e1" data-source="Without additional configuration, pushes the current branch to the configured upstream (&lt;code&gt;branch.&amp;lt;name&amp;gt;.merge&lt;/code&gt; configuration variable) if it has the same name as the current branch, and errors out without pushing otherwise." onmousemove="i18n(this)">&Bcy;&iecy;&zcy; &dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&jcy; &ncy;&acy;&scy;&tcy;&rcy;&ocy;&jcy;&kcy;&icy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&ucy;&yucy; &vcy;&iecy;&tcy;&vcy;&softcy; &vcy; &ncy;&acy;&scy;&tcy;&rcy;&ocy;&iecy;&ncy;&ncy;&ycy;&jcy; &vcy;&ocy;&scy;&khcy;&ocy;&dcy;&yacy;&shchcy;&icy;&jcy; &pcy;&ocy;&tcy;&ocy;&kcy; (&pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&acy;&yacy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>branch.&lt;name&gt;.merge</code> ), &iecy;&scy;&lcy;&icy; &ocy;&ncy;&acy; &icy;&mcy;&iecy;&iecy;&tcy; &tcy;&ocy; &zhcy;&iecy; &icy;&mcy;&yacy;, &chcy;&tcy;&ocy; &icy; &tcy;&iecy;&kcy;&ucy;&shchcy;&acy;&yacy; &vcy;&iecy;&tcy;&vcy;&softcy;, &icy; &vcy;&ycy;&dcy;&acy;&iecy;&tcy; &ocy;&shcy;&icy;&bcy;&kcy;&ucy;, &ncy;&iecy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&yacy; &vcy; &pcy;&rcy;&ocy;&tcy;&icy;&vcy;&ncy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy;.</span></p> <p><span data-i18n="7781ea6009036c3d06adbb87f9d8a1c08059d9ec8e856f7a43098790962c32c4/59" data-source="The default behavior of this command when no &amp;lt;refspec&amp;gt; is given can be configured by setting the &lt;code&gt;push&lt;/code&gt; option of the remote, or the &lt;code&gt;push.default&lt;/code&gt; configuration variable." onmousemove="i18n(this)">&Pcy;&ocy;&vcy;&iecy;&dcy;&iecy;&ncy;&icy;&iecy; &ecy;&tcy;&ocy;&jcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ycy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;, &kcy;&ocy;&gcy;&dcy;&acy; &lt;refspec&gt; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;, &mcy;&ocy;&zhcy;&ncy;&ocy; &ncy;&acy;&scy;&tcy;&rcy;&ocy;&icy;&tcy;&softcy;, &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&vcy; &ocy;&pcy;&tscy;&icy;&yucy;  <code>push</code>  &pcy;&ucy;&lcy;&softcy;&tcy;&acy; &dcy;&icy;&scy;&tcy;&acy;&ncy;&tscy;&icy;&ocy;&ncy;&ncy;&ocy;&gcy;&ocy; &ucy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &icy;&lcy;&icy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ucy;&yucy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>push.default</code> .</span></p> <p><span data-i18n="57e657911d2564e33162dbb4ac8c9ef52acd3da39a17158a600851598280952b/42" data-source="For example, to default to pushing only the current branch to &lt;code&gt;origin&lt;/code&gt; use &lt;code&gt;git config remote.origin.push HEAD&lt;/code&gt;. Any valid &amp;lt;refspec&amp;gt; (like the ones in the examples below) can be configured as the default for &lt;code&gt;git push origin&lt;/code&gt;." onmousemove="i18n(this)">&Ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &chcy;&tcy;&ocy;&bcy;&ycy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&tcy;&softcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &tcy;&iecy;&kcy;&ucy;&shchcy;&ucy;&yucy; &vcy;&iecy;&tcy;&vcy;&softcy; &vcy;  <code>origin</code> , &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy;  <code>git config remote.origin.push HEAD</code>  . &Lcy;&yucy;&bcy;&ocy;&jcy; &dcy;&ocy;&pcy;&ucy;&scy;&tcy;&icy;&mcy;&ycy;&jcy; &lt;refspec&gt; (&ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &vcy; &pcy;&rcy;&icy;&mcy;&iecy;&rcy;&acy;&khcy; &ncy;&icy;&zhcy;&iecy;) &mcy;&ocy;&zhcy;&ncy;&ocy; &ncy;&acy;&scy;&tcy;&rcy;&ocy;&icy;&tcy;&softcy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &dcy;&lcy;&yacy;  <code>git push origin</code> .</span></p> </dd> <dt id="Documentation/git-push.txt-codegitpushorigincode-1"> <code>git push origin :</code> </dt> <dd> <p><span data-i18n="c57a91e016971de3418d6eed9cc662bb2e6397e4c7ecf46ccc430a6c6550a8fc/a6" data-source="Push &amp;quot;matching&amp;quot; branches to &lt;code&gt;origin&lt;/code&gt;. See &amp;lt;refspec&amp;gt; in the &lt;a href=&quot;#OPTIONS&quot;&gt;OPTIONS&lt;/a&gt; section above for a description of &amp;quot;matching&amp;quot; branches." onmousemove="i18n(this)">&Ncy;&acy;&zhcy;&mcy;&icy;&tcy;&iecy;  &quot;matching&quot;  &ncy;&acy;  <code>origin</code> . &Scy;&mcy;. &lt;refspec&gt; &vcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;  <a href="git-push.html#OPTIONS">OPTIONS</a>  &vcy;&ycy;&shcy;&iecy; &dcy;&lcy;&yacy; &ocy;&pcy;&icy;&scy;&acy;&ncy;&icy;&yacy; &vcy;&iecy;&tcy;&vcy;&iecy;&jcy;  &quot;matching&quot; .</span></p> </dd> <dt id="Documentation/git-push.txt-codegitpushoriginmastercode"> <code>git push origin master</code> </dt> <dd> <p><span data-i18n="e0682238f3758681e993aead4a8e5abf2b41b893372fb369da5e191c6c4e0e0d/56" data-source="Find a ref that matches &lt;code&gt;master&lt;/code&gt; in the source repository (most likely, it would find &lt;code&gt;refs/heads/master&lt;/code&gt;), and update the same ref (e.g. &lt;code&gt;refs/heads/master&lt;/code&gt;) in &lt;code&gt;origin&lt;/code&gt; repository with it. If &lt;code&gt;master&lt;/code&gt; did not exist remotely, it would be created." onmousemove="i18n(this)">&Ncy;&acy;&jcy;&dcy;&icy;&tcy;&iecy; &scy;&scy;&ycy;&lcy;&kcy;&ucy;, &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&ucy;&yucy;  <code>master</code> , &vcy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ocy;&mcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy; (&scy;&kcy;&ocy;&rcy;&iecy;&iecy; &vcy;&scy;&iecy;&gcy;&ocy;, &ocy;&ncy;&acy; &ncy;&acy;&jcy;&dcy;&iecy;&tcy;  <code>refs/heads/master</code> ) &icy; &ocy;&bcy;&ncy;&ocy;&vcy;&icy;&tcy;&iecy; &scy; &iecy;&iecy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &tcy;&ucy; &zhcy;&iecy; &scy;&scy;&ycy;&lcy;&kcy;&ucy; (&ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;,  <code>refs/heads/master</code> ) &vcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;  <code>origin</code> . &IEcy;&scy;&lcy;&icy; &bcy;&ycy;  <code>master</code>  &ncy;&iecy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ocy;&vcy;&acy;&lcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;, &ocy;&ncy; &bcy;&ycy;&lcy; &bcy;&ycy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;.</span></p> </dd> <dt id="Documentation/git-push.txt-codegitpushoriginHEADcode"> <code>git push origin HEAD</code> </dt> <dd> <p><span data-i18n="1b5eed4557564ff4f3f902ec1420c141aa648f4996947305d327b668d6cc880d/3d" data-source="A handy way to push the current branch to the same name on the remote." onmousemove="i18n(this)">&Ucy;&dcy;&ocy;&bcy;&ncy;&ycy;&jcy; &scy;&pcy;&ocy;&scy;&ocy;&bcy; &pcy;&iecy;&rcy;&iecy;&ncy;&iecy;&scy;&tcy;&icy; &tcy;&iecy;&kcy;&ucy;&shchcy;&ucy;&yucy; &vcy;&iecy;&tcy;&kcy;&ucy; &scy; &tcy;&iecy;&mcy; &zhcy;&iecy; &icy;&mcy;&iecy;&ncy;&iecy;&mcy; &ncy;&acy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&mcy; &kcy;&ocy;&mcy;&pcy;&softcy;&yucy;&tcy;&iecy;&rcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-push.txt-codegitpushmothershipmastersatellitemasterdevsatellitedevcode"> <code>git push mothership master:satellite/master dev:satellite/dev</code> </dt> <dd> <p><span data-i18n="7470d894e42df18c5a21034ff59f1caee012a51eab1326df977fefc0ce68f4d1/90" data-source="Use the source ref that matches &lt;code&gt;master&lt;/code&gt; (e.g. &lt;code&gt;refs/heads/master&lt;/code&gt;) to update the ref that matches &lt;code&gt;satellite/master&lt;/code&gt; (most probably &lt;code&gt;refs/remotes/satellite/master&lt;/code&gt;) in the &lt;code&gt;mothership&lt;/code&gt; repository; do the same for &lt;code&gt;dev&lt;/code&gt; and &lt;code&gt;satellite/dev&lt;/code&gt;." onmousemove="i18n(this)">&Icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &scy;&scy;&ycy;&lcy;&kcy;&ucy; &ncy;&acy; &icy;&scy;&tcy;&ocy;&chcy;&ncy;&icy;&kcy;, &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&ucy;&yucy;  <code>master</code>  (&ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;,  <code>refs/heads/master</code> ), &chcy;&tcy;&ocy;&bcy;&ycy; &ocy;&bcy;&ncy;&ocy;&vcy;&icy;&tcy;&softcy; &scy;&scy;&ycy;&lcy;&kcy;&ucy;, &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&ucy;&yucy;  <code>satellite/master</code>  (&scy;&kcy;&ocy;&rcy;&iecy;&iecy; &vcy;&scy;&iecy;&gcy;&ocy;,  <code>refs/remotes/satellite/master</code> ) &vcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;  <code>mothership</code> ; &scy;&dcy;&iecy;&lcy;&acy;&jcy;&tcy;&iecy; &tcy;&ocy; &zhcy;&iecy; &scy;&acy;&mcy;&ocy;&iecy; &dcy;&lcy;&yacy;  <code>dev</code>  &icy;  <code>satellite/dev</code> .</span></p> <p><span data-i18n="88ee4147ae7037a4348d76eb683d1c14de2faefb511bfac2bdf57482abf01723/6e" data-source="See the section describing &lt;code&gt;&amp;lt;refspec&amp;gt;...&lt;/code&gt; above for a discussion of the matching semantics." onmousemove="i18n(this)">&Scy;&mcy;. &rcy;&acy;&zcy;&dcy;&iecy;&lcy;, &ocy;&pcy;&icy;&scy;&ycy;&vcy;&acy;&yucy;&shchcy;&icy;&jcy;  <code>&lt;refspec&gt;...</code>  &vcy;&ycy;&shcy;&iecy;, &dcy;&lcy;&yacy; &ocy;&bcy;&scy;&ucy;&zhcy;&dcy;&iecy;&ncy;&icy;&yacy; &scy;&iecy;&mcy;&acy;&ncy;&tcy;&icy;&kcy;&icy; &scy;&ocy;&pcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy;.</span></p> <p><span data-i18n="1bdb252cbb0d013ee67b74414338702a66fed6950d8d583655a9e25368b5574d/93" data-source="This is to emulate &lt;code&gt;git fetch&lt;/code&gt; run on the &lt;code&gt;mothership&lt;/code&gt; using &lt;code&gt;git
push&lt;/code&gt; that is run in the opposite direction in order to integrate the work done on &lt;code&gt;satellite&lt;/code&gt;, and is often necessary when you can only make connection in one way (i.e. satellite can ssh into mothership but mothership cannot initiate connection to satellite because the latter is behind a firewall or does not run sshd)." onmousemove="i18n(this)">&Ecy;&tcy;&ocy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ocy; &dcy;&lcy;&yacy; &ecy;&mcy;&ucy;&lcy;&yacy;&tscy;&icy;&icy; &zcy;&acy;&pcy;&ucy;&scy;&kcy;&acy;  <code>git fetch</code>  &ncy;&acy;  <code>mothership</code>  &scy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy;&mcy;  <code>git
push</code> , &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &zcy;&acy;&pcy;&ucy;&scy;&kcy;&acy;&iecy;&tcy;&scy;&yacy; &vcy; &pcy;&rcy;&ocy;&tcy;&icy;&vcy;&ocy;&pcy;&ocy;&lcy;&ocy;&zhcy;&ncy;&ocy;&mcy; &ncy;&acy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&icy;, &chcy;&tcy;&ocy;&bcy;&ycy; &icy;&ncy;&tcy;&iecy;&gcy;&rcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &rcy;&acy;&bcy;&ocy;&tcy;&ucy;, &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&ncy;&ucy;&yucy; &ncy;&acy;  <code>satellite</code> , &icy; &chcy;&acy;&scy;&tcy;&ocy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;, &kcy;&ocy;&gcy;&dcy;&acy; &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&tcy;&softcy; &scy;&ocy;&iecy;&dcy;&icy;&ncy;&iecy;&ncy;&icy;&iecy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &ocy;&dcy;&ncy;&icy;&mcy; &scy;&pcy;&ocy;&scy;&ocy;&bcy;&ocy;&mcy; (&tcy;. &iecy;. &scy;&pcy;&ucy;&tcy;&ncy;&icy;&kcy; &mcy;&ocy;&zhcy;&iecy;&tcy; &pcy;&ocy;&dcy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&softcy;&scy;&yacy; &pcy;&ocy; SSH &kcy; Mothership, &ncy;&ocy; Mothership &ncy;&iecy; &mcy;&ocy;&zhcy;&iecy;&tcy; &icy;&ncy;&icy;&tscy;&icy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &scy;&ocy;&iecy;&dcy;&icy;&ncy;&iecy;&ncy;&icy;&iecy; &scy;&ocy; &scy;&pcy;&ucy;&tcy;&ncy;&icy;&kcy;&ocy;&mcy;, &pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ncy;&icy;&jcy; &ncy;&acy;&khcy;&ocy;&dcy;&icy;&tcy;&scy;&yacy; &zcy;&acy; &bcy;&rcy;&acy;&ncy;&dcy;&mcy;&acy;&ucy;&ecy;&rcy;&ocy;&mcy; &icy;&lcy;&icy; &ncy;&iecy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy; sshd).</span></p> <p><span data-i18n="7c4a7523748376ccfb731c1513e746e6853cc683d0d2abe3adbf686efcf25401/4b" data-source="After running this &lt;code&gt;git push&lt;/code&gt; on the &lt;code&gt;satellite&lt;/code&gt; machine, you would ssh into the &lt;code&gt;mothership&lt;/code&gt; and run &lt;code&gt;git merge&lt;/code&gt; there to complete the emulation of &lt;code&gt;git pull&lt;/code&gt; that were run on &lt;code&gt;mothership&lt;/code&gt; to pull changes made on &lt;code&gt;satellite&lt;/code&gt;." onmousemove="i18n(this)">&Pcy;&ocy;&scy;&lcy;&iecy; &zcy;&acy;&pcy;&ucy;&scy;&kcy;&acy; &ecy;&tcy;&ocy;&gcy;&ocy;  <code>git push</code>  &ncy;&acy; &mcy;&acy;&shcy;&icy;&ncy;&iecy;  <code>satellite</code>  &vcy;&ycy; &dcy;&ocy;&lcy;&zhcy;&ncy;&ycy; &pcy;&ocy;&dcy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&softcy;&scy;&yacy; &pcy;&ocy; ssh &kcy;  <code>mothership</code>  &icy; &zcy;&acy;&pcy;&ucy;&scy;&tcy;&icy;&tcy;&softcy; &tcy;&acy;&mcy;  <code>git merge</code> , &chcy;&tcy;&ocy;&bcy;&ycy; &zcy;&acy;&vcy;&iecy;&rcy;&shcy;&icy;&tcy;&softcy; &ecy;&mcy;&ucy;&lcy;&yacy;&tscy;&icy;&yucy;  <code>git pull</code> , &zcy;&acy;&pcy;&ucy;&shchcy;&iecy;&ncy;&ncy;&ucy;&yucy; &ncy;&acy;  <code>mothership</code> , &icy; &pcy;&ocy;&lcy;&ucy;&chcy;&icy;&tcy;&softcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;, &vcy;&ncy;&iecy;&scy;&iecy;&ncy;&ncy;&ycy;&iecy; &ncy;&acy;  <code>satellite</code> .</span></p> </dd> <dt id="Documentation/git-push.txt-codegitpushoriginHEADmastercode"> <code>git push origin HEAD:master</code> </dt> <dd> <p><span data-i18n="25b56bdeb017b27d1893d498678fa5c967e9d1cd1f003a04bb55eb736b62f843/7c" data-source="Push the current branch to the remote ref matching &lt;code&gt;master&lt;/code&gt; in the &lt;code&gt;origin&lt;/code&gt; repository. This form is convenient to push the current branch without thinking about its local name." onmousemove="i18n(this)">&Ocy;&tcy;&pcy;&rcy;&acy;&vcy;&softcy;&tcy;&iecy; &tcy;&iecy;&kcy;&ucy;&shchcy;&ucy;&yucy; &vcy;&iecy;&tcy;&kcy;&ucy; &ncy;&acy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ucy;&yucy; &scy;&scy;&ycy;&lcy;&kcy;&ucy;, &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&ucy;&yucy;  <code>master</code> , &vcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;  <code>origin</code> . &Vcy; &ecy;&tcy;&ocy;&jcy; &fcy;&ocy;&rcy;&mcy;&iecy; &ucy;&dcy;&ocy;&bcy;&ncy;&ocy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&tcy;&softcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&ucy;&yucy; &vcy;&iecy;&tcy;&kcy;&ucy;, &ncy;&iecy; &zcy;&acy;&dcy;&ucy;&mcy;&ycy;&vcy;&acy;&yacy;&scy;&softcy; &ocy; &iecy;&iecy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ocy;&mcy; &icy;&mcy;&iecy;&ncy;&icy;.</span></p> </dd> <dt id="Documentation/git-push.txt-codegitpushoriginmasterrefsheadsexperimentalcode"> <code>git push origin master:refs/heads/experimental</code> </dt> <dd> <p><span data-i18n="97a865851cd86e637d594ee0a2b96ba758622d544099119606cd14cd966129f0/ea" data-source="Create the branch &lt;code&gt;experimental&lt;/code&gt; in the &lt;code&gt;origin&lt;/code&gt; repository by copying the current &lt;code&gt;master&lt;/code&gt; branch. This form is only needed to create a new branch or tag in the remote repository when the local name and the remote name are different; otherwise, the ref name on its own will work." onmousemove="i18n(this)">&Scy;&ocy;&zcy;&dcy;&acy;&jcy;&tcy;&iecy; &vcy;&iecy;&tcy;&kcy;&ucy;  <code>experimental</code>  &vcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;  <code>origin</code> , &scy;&kcy;&ocy;&pcy;&icy;&rcy;&ocy;&vcy;&acy;&vcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&ucy;&yucy; &vcy;&iecy;&tcy;&kcy;&ucy;  <code>master</code> . &Ecy;&tcy;&acy; &fcy;&ocy;&rcy;&mcy;&acy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&acy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &dcy;&lcy;&yacy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&icy;&yacy; &ncy;&ocy;&vcy;&ocy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy; &icy;&lcy;&icy; &tcy;&iecy;&gcy;&acy; &vcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&mcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;, &kcy;&ocy;&gcy;&dcy;&acy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ocy;&iecy; &icy;&mcy;&yacy; &icy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&iecy; &icy;&mcy;&yacy; &rcy;&acy;&zcy;&lcy;&icy;&chcy;&acy;&yucy;&tcy;&scy;&yacy;; &vcy; &pcy;&rcy;&ocy;&tcy;&icy;&vcy;&ncy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &bcy;&ucy;&dcy;&iecy;&tcy; &rcy;&acy;&bcy;&ocy;&tcy;&acy;&tcy;&softcy; &scy;&acy;&mcy;&ocy; &pcy;&ocy; &scy;&iecy;&bcy;&iecy; &icy;&mcy;&yacy; &scy;&scy;&ycy;&lcy;&kcy;&icy;.</span></p> </dd> <dt id="Documentation/git-push.txt-codegitpushoriginexperimentalcode"> <code>git push origin :experimental</code> </dt> <dd> <p><span data-i18n="0d63a6192463d3ef40bb3e0293d7c14bdc4769691d93d38fc5243ccbfe9b6245/97" data-source="Find a ref that matches &lt;code&gt;experimental&lt;/code&gt; in the &lt;code&gt;origin&lt;/code&gt; repository (e.g. &lt;code&gt;refs/heads/experimental&lt;/code&gt;), and delete it." onmousemove="i18n(this)">&Ncy;&acy;&jcy;&dcy;&icy;&tcy;&iecy; &scy;&scy;&ycy;&lcy;&kcy;&ucy;, &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&ucy;&yucy;  <code>experimental</code> , &vcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;  <code>origin</code>  (&ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;,  <code>refs/heads/experimental</code> ) &icy; &ucy;&dcy;&acy;&lcy;&icy;&tcy;&iecy; &iecy;&iecy;.</span></p> </dd> <dt id="Documentation/git-push.txt-codegitpushorigindevmastercode"> <code>git push origin +dev:master</code> </dt> <dd> <p><span data-i18n="8d0306b7879c85c76cac7da70eefcc9995d04706779461b915a482d48c767bd6/dd" data-source="Update the origin repository&amp;rsquo;s master branch with the dev branch, allowing non-fast-forward updates. &lt;strong&gt;This can leave unreferenced commits dangling in the origin repository.&lt;/strong&gt; Consider the following situation, where a fast-forward is not possible:" onmousemove="i18n(this)">&Ocy;&bcy;&ncy;&ocy;&vcy;&icy;&tcy;&iecy; &gcy;&lcy;&acy;&vcy;&ncy;&ucy;&yucy; &vcy;&iecy;&tcy;&kcy;&ucy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ocy;&gcy;&ocy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy; &vcy;&iecy;&tcy;&kcy;&ocy;&jcy; dev, &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&icy;&vcy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &bcy;&iecy;&zcy; &pcy;&iecy;&rcy;&iecy;&mcy;&ocy;&tcy;&kcy;&icy; &vcy;&pcy;&iecy;&rcy;&iecy;&dcy;. &Ecy;&tcy;&ocy; &mcy;&ocy;&zhcy;&iecy;&tcy; &pcy;&rcy;&icy;&vcy;&iecy;&scy;&tcy;&icy; &kcy; &tcy;&ocy;&mcy;&ucy;, &chcy;&tcy;&ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy;, &ncy;&acy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ncy;&iecy;&tcy; &scy;&scy;&ycy;&lcy;&ocy;&kcy;, &bcy;&ucy;&dcy;&ucy;&tcy; &vcy;&icy;&scy;&iecy;&tcy;&softcy; &vcy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ocy;&mcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;. &Rcy;&acy;&scy;&scy;&mcy;&ocy;&tcy;&rcy;&icy;&mcy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&ucy;&yucy; &scy;&icy;&tcy;&ucy;&acy;&tscy;&icy;&yucy;, &kcy;&ocy;&gcy;&dcy;&acy; &bcy;&ycy;&scy;&tcy;&rcy;&acy;&yacy; &pcy;&iecy;&rcy;&iecy;&mcy;&ocy;&tcy;&kcy;&acy; &vcy;&pcy;&iecy;&rcy;&iecy;&dcy; &ncy;&iecy;&vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&acy;:</span></p> <div> <div> <pre class="hljs language-css">            o-<span class="hljs-attr">--o---o---A---B</span>  origin/master
                     \
                      X-<span class="hljs-attr">--Y---Z</span>  dev</pre> </div> </div> <p><span data-i18n="881391bf4934829b90b4c6ab128c7f522d3231603801c71b8ec21a1605a8a784/9c" data-source="The above command would change the origin repository to" onmousemove="i18n(this)">&Pcy;&rcy;&icy;&vcy;&iecy;&dcy;&iecy;&ncy;&ncy;&acy;&yacy; &vcy;&ycy;&shcy;&iecy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy; &icy;&zcy;&mcy;&iecy;&ncy;&icy;&tcy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ycy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &ncy;&acy;</span></p> <div> <div> <pre class="hljs language-css">                      <span class="hljs-selector-tag">A</span>-<span class="hljs-attr">--B</span>  (unnamed branch)
                     /
            o-<span class="hljs-attr">--o---o---X---Y---Z</span>  master</pre> </div> </div> <p><span data-i18n="98172b35223a89f1a52a8ef2dfa4f18a2b61641b5a306e4e1a358c9862a79841/e2" data-source="Commits A and B would no longer belong to a branch with a symbolic name, and so would be unreachable. As such, these commits would be removed by a &lt;code&gt;git gc&lt;/code&gt; command on the origin repository." onmousemove="i18n(this)">&Kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; A &icy; B &bcy;&ocy;&lcy;&softcy;&shcy;&iecy; &ncy;&iecy; &bcy;&ucy;&dcy;&ucy;&tcy; &pcy;&rcy;&icy;&ncy;&acy;&dcy;&lcy;&iecy;&zhcy;&acy;&tcy;&softcy; &vcy;&iecy;&tcy;&kcy;&iecy; &scy; &scy;&icy;&mcy;&vcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&kcy;&icy;&mcy; &icy;&mcy;&iecy;&ncy;&iecy;&mcy; &icy; &pcy;&ocy;&ecy;&tcy;&ocy;&mcy;&ucy; &bcy;&ucy;&dcy;&ucy;&tcy; &ncy;&iecy;&dcy;&ocy;&scy;&tcy;&ucy;&pcy;&ncy;&ycy;. &Tcy;&acy;&kcy;&icy;&mcy; &ocy;&bcy;&rcy;&acy;&zcy;&ocy;&mcy;, &ecy;&tcy;&icy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; &bcy;&ucy;&dcy;&ucy;&tcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ycy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ocy;&jcy;  <code>git gc</code>  &vcy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ocy;&mcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;.</span></p> </dd> </dl> </div> </div> <h2 class="text-body-emphasis"  id="_security"><span data-i18n="8f6fb4eb7f42c0e245e29e63f5b82cc3ba19852681d1ed9aed291f59cf75ec0e/6e" data-source="Security" onmousemove="i18n(this)">Security</span></h2> <div> <p><span data-i18n="e3c62b433d0793924d2b9ae13325cde82b048c84b9be55ce486e0301aa6c7f59/1f" data-source="The fetch and push protocols are not designed to prevent one side from stealing data from the other repository that was not intended to be shared. If you have private data that you need to protect from a malicious peer, your best option is to store it in another repository. This applies to both clients and servers. In particular, namespaces on a server are not effective for read access control; you should only grant read access to a namespace to clients that you would trust with read access to the entire repository." onmousemove="i18n(this)">&Pcy;&rcy;&ocy;&tcy;&ocy;&kcy;&ocy;&lcy;&ycy; &vcy;&ycy;&bcy;&ocy;&rcy;&kcy;&icy; &icy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy; &ncy;&iecy; &pcy;&rcy;&iecy;&dcy;&ncy;&acy;&zcy;&ncy;&acy;&chcy;&iecy;&ncy;&ycy; &dcy;&lcy;&yacy; &pcy;&rcy;&iecy;&dcy;&ocy;&tcy;&vcy;&rcy;&acy;&shchcy;&iecy;&ncy;&icy;&yacy; &kcy;&rcy;&acy;&zhcy;&icy; &ocy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&ocy;&rcy;&ocy;&ncy;&ocy;&jcy; &dcy;&acy;&ncy;&ncy;&ycy;&khcy; &icy;&zcy; &dcy;&rcy;&ucy;&gcy;&ocy;&gcy;&ocy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ncy;&iecy; &pcy;&rcy;&iecy;&dcy;&ncy;&acy;&zcy;&ncy;&acy;&chcy;&iecy;&ncy;&ycy; &dcy;&lcy;&yacy; &scy;&ocy;&vcy;&mcy;&iecy;&scy;&tcy;&ncy;&ocy;&gcy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;. &IEcy;&scy;&lcy;&icy; &ucy; &vcy;&acy;&scy; &iecy;&scy;&tcy;&softcy; &dcy;&acy;&ncy;&ncy;&ycy;&iecy;  private , &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ocy; &zcy;&acy;&shchcy;&icy;&tcy;&icy;&tcy;&softcy; &ocy;&tcy; &zcy;&lcy;&ocy;&ncy;&acy;&mcy;&iecy;&rcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &ucy;&zcy;&lcy;&acy;, &lcy;&ucy;&chcy;&shcy;&icy;&jcy; &vcy;&acy;&rcy;&icy;&acy;&ncy;&tcy; &mdash; &scy;&ocy;&khcy;&rcy;&acy;&ncy;&icy;&tcy;&softcy; &icy;&khcy; &vcy; &dcy;&rcy;&ucy;&gcy;&ocy;&mcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;. &Ecy;&tcy;&ocy; &kcy;&acy;&scy;&acy;&iecy;&tcy;&scy;&yacy; &kcy;&acy;&kcy; &kcy;&lcy;&icy;&iecy;&ncy;&tcy;&ocy;&vcy;, &tcy;&acy;&kcy; &icy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&ocy;&vcy;. &Vcy; &chcy;&acy;&scy;&tcy;&ncy;&ocy;&scy;&tcy;&icy;, &pcy;&rcy;&ocy;&scy;&tcy;&rcy;&acy;&ncy;&scy;&tcy;&vcy;&acy; &icy;&mcy;&iecy;&ncy; &ncy;&acy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&iecy; &ncy;&iecy;&ecy;&fcy;&fcy;&iecy;&kcy;&tcy;&icy;&vcy;&ncy;&ycy; &dcy;&lcy;&yacy; &ucy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &dcy;&ocy;&scy;&tcy;&ucy;&pcy;&ocy;&mcy; &dcy;&lcy;&yacy; &chcy;&tcy;&iecy;&ncy;&icy;&yacy;; &vcy;&acy;&mcy; &scy;&lcy;&iecy;&dcy;&ucy;&iecy;&tcy; &pcy;&rcy;&iecy;&dcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&tcy;&softcy; &dcy;&ocy;&scy;&tcy;&ucy;&pcy; &ncy;&acy; &chcy;&tcy;&iecy;&ncy;&icy;&iecy; &kcy; &pcy;&rcy;&ocy;&scy;&tcy;&rcy;&acy;&ncy;&scy;&tcy;&vcy;&ucy; &icy;&mcy;&iecy;&ncy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &tcy;&iecy;&mcy; &kcy;&lcy;&icy;&iecy;&ncy;&tcy;&acy;&mcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&mcy; &vcy;&ycy; &dcy;&ocy;&vcy;&iecy;&rcy;&yacy;&iecy;&tcy;&iecy; &dcy;&ocy;&scy;&tcy;&ucy;&pcy; &ncy;&acy; &chcy;&tcy;&iecy;&ncy;&icy;&iecy; &kcy;&ocy; &vcy;&scy;&iecy;&mcy;&ucy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yucy;.</span></p> <p><span data-i18n="46617e55b677a5a7bd7b96c233bf7af7f8046acae18f8f8598479c6d08af8ede/9d" data-source="The known attack vectors are as follows:" onmousemove="i18n(this)">&Icy;&zcy;&vcy;&iecy;&scy;&tcy;&ncy;&ycy;&iecy; &vcy;&iecy;&kcy;&tcy;&ocy;&rcy;&ycy; &acy;&tcy;&acy;&kcy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&iecy;:</span></p> <div> <ol> <li> <p><span data-i18n="84398463aceda9e868708a14aee8356b23aebdbdcccd3d1a9b529a441c652255/1e" data-source="The victim sends &amp;quot;have&amp;quot; lines advertising the IDs of objects it has that are not explicitly intended to be shared but can be used to optimize the transfer if the peer also has them. The attacker chooses an object ID X to steal and sends a ref to X, but isn&amp;rsquo;t required to send the content of X because the victim already has it. Now the victim believes that the attacker has X, and it sends the content of X back to the attacker later. (This attack is most straightforward for a client to perform on a server, by creating a ref to X in the namespace the client has access to and then fetching it. The most likely way for a server to perform it on a client is to &amp;quot;merge&amp;quot; X into a public branch and hope that the user does additional work on this branch and pushes it back to the server without noticing the merge.)" onmousemove="i18n(this)">&ZHcy;&iecy;&rcy;&tcy;&vcy;&acy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy; &scy;&tcy;&rcy;&ocy;&kcy;&icy;  &quot;have&quot; , &ocy;&bcy;&hardcy;&yacy;&vcy;&lcy;&yacy;&yucy;&shchcy;&icy;&iecy; &icy;&dcy;&iecy;&ncy;&tcy;&icy;&fcy;&icy;&kcy;&acy;&tcy;&ocy;&rcy;&ycy; &icy;&mcy;&iecy;&yucy;&shchcy;&icy;&khcy;&scy;&yacy; &ucy; &ncy;&iecy;&iecy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ocy;&vcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &yacy;&vcy;&ncy;&ocy; &ncy;&iecy; &pcy;&rcy;&iecy;&dcy;&ncy;&acy;&zcy;&ncy;&acy;&chcy;&iecy;&ncy;&ycy; &dcy;&lcy;&yacy; &scy;&ocy;&vcy;&mcy;&iecy;&scy;&tcy;&ncy;&ocy;&gcy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;, &ncy;&ocy; &mcy;&ocy;&gcy;&ucy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &dcy;&lcy;&yacy; &ocy;&pcy;&tcy;&icy;&mcy;&icy;&zcy;&acy;&tscy;&icy;&icy; &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&chcy;&icy;, &iecy;&scy;&lcy;&icy; &ocy;&ncy;&icy; &tcy;&acy;&kcy;&zhcy;&iecy; &iecy;&scy;&tcy;&softcy; &ucy; &ucy;&zcy;&lcy;&acy;. &Zcy;&lcy;&ocy;&ucy;&mcy;&ycy;&shcy;&lcy;&iecy;&ncy;&ncy;&icy;&kcy; &vcy;&ycy;&bcy;&icy;&rcy;&acy;&iecy;&tcy; &icy;&dcy;&iecy;&ncy;&tcy;&icy;&fcy;&icy;&kcy;&acy;&tcy;&ocy;&rcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&acy; X &dcy;&lcy;&yacy; &kcy;&rcy;&acy;&zhcy;&icy; &icy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy; &scy;&scy;&ycy;&lcy;&kcy;&ucy; &ncy;&acy; X, &ncy;&ocy; &ncy;&iecy; &ocy;&bcy;&yacy;&zcy;&acy;&ncy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&tcy;&softcy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&mcy;&ocy;&iecy; X, &pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &ocy;&ncy;&ocy; &ucy;&zhcy;&iecy; &iecy;&scy;&tcy;&softcy; &ucy; &zhcy;&iecy;&rcy;&tcy;&vcy;&ycy;. &Tcy;&iecy;&pcy;&iecy;&rcy;&softcy; &zhcy;&iecy;&rcy;&tcy;&vcy;&acy; &scy;&chcy;&icy;&tcy;&acy;&iecy;&tcy;, &chcy;&tcy;&ocy; &ucy; &zcy;&lcy;&ocy;&ucy;&mcy;&ycy;&shcy;&lcy;&iecy;&ncy;&ncy;&icy;&kcy;&acy; &iecy;&scy;&tcy;&softcy; X, &icy; &pcy;&ocy;&zcy;&zhcy;&iecy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&mcy;&ocy;&iecy; X &ocy;&bcy;&rcy;&acy;&tcy;&ncy;&ocy; &zcy;&lcy;&ocy;&ucy;&mcy;&ycy;&shcy;&lcy;&iecy;&ncy;&ncy;&icy;&kcy;&ucy;. (&Ecy;&tcy;&ucy; &acy;&tcy;&acy;&kcy;&ucy; &ncy;&acy;&icy;&bcy;&ocy;&lcy;&iecy;&iecy; &pcy;&rcy;&ocy;&scy;&tcy;&ocy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&softcy; &kcy;&lcy;&icy;&iecy;&ncy;&tcy; &ncy;&acy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&iecy;, &scy;&ocy;&zcy;&dcy;&acy;&vcy; &scy;&scy;&ycy;&lcy;&kcy;&ucy; &ncy;&acy; X &vcy; &pcy;&rcy;&ocy;&scy;&tcy;&rcy;&acy;&ncy;&scy;&tcy;&vcy;&iecy; &icy;&mcy;&iecy;&ncy;, &kcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&mcy;&ucy; &kcy;&lcy;&icy;&iecy;&ncy;&tcy; &icy;&mcy;&iecy;&iecy;&tcy; &dcy;&ocy;&scy;&tcy;&ucy;&pcy;, &acy; &zcy;&acy;&tcy;&iecy;&mcy; &icy;&zcy;&vcy;&lcy;&iecy;&kcy;&acy;&yacy; &iecy;&iecy;. &Ncy;&acy;&icy;&bcy;&ocy;&lcy;&iecy;&iecy; &vcy;&iecy;&rcy;&ocy;&yacy;&tcy;&ncy;&ycy;&jcy; &scy;&pcy;&ocy;&scy;&ocy;&bcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&mcy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy; &mcy;&ocy;&zhcy;&iecy;&tcy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&softcy; &ecy;&tcy;&ucy; &acy;&tcy;&acy;&kcy;&ucy; &ncy;&acy; &kcy;&lcy;&icy;&iecy;&ncy;&tcy;&iecy;, &mdash; &ecy;&tcy;&ocy;  &quot;merge&quot; . X &vcy; &vcy;&iecy;&tcy;&kcy;&ucy;  public  &icy; &ncy;&acy;&dcy;&iecy;&yacy;&tcy;&softcy;&scy;&yacy;, &chcy;&tcy;&ocy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&softcy; &pcy;&rcy;&ocy;&dcy;&iecy;&lcy;&acy;&iecy;&tcy; &dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ucy;&yucy; &rcy;&acy;&bcy;&ocy;&tcy;&ucy; &ncy;&acy;&dcy; &ecy;&tcy;&ocy;&jcy; &vcy;&iecy;&tcy;&kcy;&ocy;&jcy; &icy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&icy;&tcy; &iecy;&iecy; &ocy;&bcy;&rcy;&acy;&tcy;&ncy;&ocy; &ncy;&acy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;, &ncy;&iecy; &zcy;&acy;&mcy;&iecy;&tcy;&icy;&vcy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;.)</span></p> </li> <li> <p><span data-i18n="5a3b46f89036f6e7c09377a2abfcb69a78f964a82901957f346c0c9be36d0a17/75" data-source="As in #1, the attacker chooses an object ID X to steal. The victim sends an object Y that the attacker already has, and the attacker falsely claims to have X and not Y, so the victim sends Y as a delta against X. The delta reveals regions of X that are similar to Y to the attacker." onmousemove="i18n(this)">&Kcy;&acy;&kcy; &icy; &vcy; &numero; 1, &zcy;&lcy;&ocy;&ucy;&mcy;&ycy;&shcy;&lcy;&iecy;&ncy;&ncy;&icy;&kcy; &vcy;&ycy;&bcy;&icy;&rcy;&acy;&iecy;&tcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy; &scy; &icy;&dcy;&iecy;&ncy;&tcy;&icy;&fcy;&icy;&kcy;&acy;&tcy;&ocy;&rcy;&ocy;&mcy; X &dcy;&lcy;&yacy; &kcy;&rcy;&acy;&zhcy;&icy;. &ZHcy;&iecy;&rcy;&tcy;&vcy;&acy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy; Y, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &ucy;&zhcy;&iecy; &iecy;&scy;&tcy;&softcy; &ucy; &zcy;&lcy;&ocy;&ucy;&mcy;&ycy;&shcy;&lcy;&iecy;&ncy;&ncy;&icy;&kcy;&acy;, &icy; &zcy;&lcy;&ocy;&ucy;&mcy;&ycy;&shcy;&lcy;&iecy;&ncy;&ncy;&icy;&kcy; &lcy;&ocy;&zhcy;&ncy;&ocy; &ucy;&tcy;&vcy;&iecy;&rcy;&zhcy;&dcy;&acy;&iecy;&tcy;, &chcy;&tcy;&ocy; &ucy; &ncy;&iecy;&gcy;&ocy; &iecy;&scy;&tcy;&softcy; X, &acy; &ncy;&iecy; Y, &pcy;&ocy;&ecy;&tcy;&ocy;&mcy;&ucy; &zhcy;&iecy;&rcy;&tcy;&vcy;&acy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy; Y &kcy;&acy;&kcy; &dcy;&iecy;&lcy;&softcy;&tcy;&ucy; &pcy;&rcy;&ocy;&tcy;&icy;&vcy; X. &Dcy;&iecy;&lcy;&softcy;&tcy;&acy; &pcy;&ocy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy; &zcy;&lcy;&ocy;&ucy;&mcy;&ycy;&shcy;&lcy;&iecy;&ncy;&ncy;&icy;&kcy;&ucy; &ocy;&bcy;&lcy;&acy;&scy;&tcy;&icy; X, &pcy;&ocy;&khcy;&ocy;&zhcy;&icy;&iecy; &ncy;&acy; Y.</span></p> </li> </ol> </div> </div> <h2 class="text-body-emphasis"  id="_configuration"><span data-i18n="b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc/aa" data-source="Configuration" onmousemove="i18n(this)">Configuration</span></h2> <div> <p><span data-i18n="5b8d919fa35b75aa925ebd5414ed6373e762fb0a087a062961c27b2ce9586555/57" data-source="Everything below this line in this section is selectively included from the &lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt; documentation. The content is the same as what&amp;rsquo;s found there:" onmousemove="i18n(this)">&Vcy;&scy;&iecy;, &chcy;&tcy;&ocy; &ncy;&acy;&khcy;&ocy;&dcy;&icy;&tcy;&scy;&yacy; &ncy;&icy;&zhcy;&iecy; &ecy;&tcy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&icy; &vcy; &ecy;&tcy;&ocy;&mcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;, &vcy;&ycy;&bcy;&ocy;&rcy;&ocy;&chcy;&ncy;&ocy; &vcy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&ocy; &icy;&zcy; &dcy;&ocy;&kcy;&ucy;&mcy;&iecy;&ncy;&tcy;&acy;&tscy;&icy;&icy;  <a href="git-config.html">git-config[1]</a> . &Scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&ncy;&icy;&iecy; &tcy;&acy;&kcy;&ocy;&iecy; &zhcy;&iecy;, &kcy;&acy;&kcy; &icy; &ncy;&acy;&jcy;&dcy;&iecy;&ncy;&ncy;&ocy;&iecy; &tcy;&acy;&mcy;:</span></p> <div> <dl> <dt id="Documentation/git-push.txt-pushautoSetupRemote"><span data-i18n="d64b5bdd91ca90426359e36965f793440af1e26834a425873b02fd80199122ba/91" data-source="push.autoSetupRemote" onmousemove="i18n(this)">push.autoSetupRemote</span></dt> <dd> <p><span data-i18n="9584b2529a7b7a4586b9259b687eef3578426b5acbb16e579be04a5706506d6e/fc" data-source="If set to &amp;quot;true&amp;quot; assume &lt;code&gt;--set-upstream&lt;/code&gt; on default push when no upstream tracking exists for the current branch; this option takes effect with push.default options &lt;code&gt;simple&lt;/code&gt;, &lt;code&gt;upstream&lt;/code&gt;, and &lt;code&gt;current&lt;/code&gt;. It is useful if by default you want new branches to be pushed to the default remote (like the behavior of &lt;code&gt;push.default=current&lt;/code&gt;) and you also want the upstream tracking to be set. Workflows most likely to benefit from this option are &lt;code&gt;simple&lt;/code&gt; central workflows where all branches are expected to have the same name on the remote." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;  &quot;true&quot; , &pcy;&rcy;&iecy;&dcy;&pcy;&ocy;&lcy;&acy;&gcy;&acy;&iecy;&tcy;&scy;&yacy;, &chcy;&tcy;&ocy; &pcy;&rcy;&icy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&iecy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy;  <code>--set-upstream</code> , &kcy;&ocy;&gcy;&dcy;&acy; &dcy;&lcy;&yacy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy; &ncy;&iecy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &vcy;&ocy;&scy;&khcy;&ocy;&dcy;&yacy;&shchcy;&iecy;&gcy;&ocy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&ncy;&icy;&yacy;; &ecy;&tcy;&acy; &ocy;&pcy;&tscy;&icy;&yacy; &vcy;&scy;&tcy;&ucy;&pcy;&acy;&iecy;&tcy; &vcy; &scy;&icy;&lcy;&ucy; &scy; &ocy;&pcy;&tscy;&icy;&yacy;&mcy;&icy; push.default  <code>simple</code> ,  <code>upstream</code>  &icy;  <code>current</code> . &Ecy;&tcy;&ocy; &pcy;&ocy;&lcy;&iecy;&zcy;&ncy;&ocy;, &iecy;&scy;&lcy;&icy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &vcy;&ycy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy;, &chcy;&tcy;&ocy;&bcy;&ycy; &ncy;&ocy;&vcy;&ycy;&iecy; &vcy;&iecy;&tcy;&kcy;&icy; &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&vcy;&acy;&lcy;&icy;&scy;&softcy; &ncy;&acy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ycy;&jcy; &kcy;&ocy;&mcy;&pcy;&softcy;&yucy;&tcy;&iecy;&rcy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; (&kcy;&acy;&kcy; &vcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &scy;  <code>push.default=current</code>  ), &acy; &tcy;&acy;&kcy;&zhcy;&iecy; &vcy;&ycy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy;, &chcy;&tcy;&ocy;&bcy;&ycy; &bcy;&ycy;&lcy;&ocy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ocy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&ncy;&icy;&iecy; &vcy;&ocy;&scy;&khcy;&ocy;&dcy;&yacy;&shchcy;&iecy;&gcy;&ocy; &pcy;&ocy;&tcy;&ocy;&kcy;&acy;. &Rcy;&acy;&bcy;&ocy;&chcy;&icy;&iecy; &pcy;&rcy;&ocy;&tscy;&iecy;&scy;&scy;&ycy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy;, &scy;&kcy;&ocy;&rcy;&iecy;&iecy; &vcy;&scy;&iecy;&gcy;&ocy;, &vcy;&ycy;&icy;&gcy;&rcy;&acy;&yucy;&tcy; &ocy;&tcy; &ecy;&tcy;&ocy;&jcy; &ocy;&pcy;&tscy;&icy;&icy;, &mdash; &ecy;&tcy;&ocy; &tscy;&iecy;&ncy;&tcy;&rcy;&acy;&lcy;&softcy;&ncy;&ycy;&iecy; &rcy;&acy;&bcy;&ocy;&chcy;&icy;&iecy; &pcy;&rcy;&ocy;&tscy;&iecy;&scy;&scy;&ycy;  <code>simple</code> , &gcy;&dcy;&iecy; &vcy;&scy;&iecy; &fcy;&icy;&lcy;&icy;&acy;&lcy;&ycy;, &kcy;&acy;&kcy; &ocy;&zhcy;&icy;&dcy;&acy;&iecy;&tcy;&scy;&yacy;, &bcy;&ucy;&dcy;&ucy;&tcy; &icy;&mcy;&iecy;&tcy;&softcy; &ocy;&dcy;&ncy;&ocy; &icy; &tcy;&ocy; &zhcy;&iecy; &icy;&mcy;&yacy; &ncy;&acy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&mcy; &kcy;&ocy;&mcy;&pcy;&softcy;&yucy;&tcy;&iecy;&rcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-push.txt-pushdefault"><span data-i18n="19fe5c043836e0755d6cf963c4b3142651474cec3681d43f40b3dd320763c091/fc" data-source="push.default" onmousemove="i18n(this)">push.default</span></dt> <dd> <p><span data-i18n="e68127688135b79a81f3bb04fb003209307013132b5362c59bdcb8c3814c850c/fd" data-source="Defines the action &lt;code&gt;git push&lt;/code&gt; should take if no refspec is given (whether from the command-line, config, or elsewhere). Different values are well-suited for specific workflows; for instance, in a purely central workflow (i.e. the fetch source is equal to the push destination), &lt;code&gt;upstream&lt;/code&gt; is probably what you want. Possible values are:" onmousemove="i18n(this)">&Ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&yacy;&iecy;&tcy; &dcy;&iecy;&jcy;&scy;&tcy;&vcy;&icy;&iecy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&iecy; &dcy;&ocy;&lcy;&zhcy;&iecy;&ncy; &pcy;&rcy;&iecy;&dcy;&pcy;&rcy;&icy;&ncy;&yacy;&tcy;&softcy;  <code>git push</code> , &iecy;&scy;&lcy;&icy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&acy; refspec (&icy;&zcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&icy;, &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy; &icy;&lcy;&icy; &gcy;&dcy;&iecy;-&lcy;&icy;&bcy;&ocy; &iecy;&shchcy;&iecy;). &Rcy;&acy;&zcy;&lcy;&icy;&chcy;&ncy;&ycy;&iecy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy; &khcy;&ocy;&rcy;&ocy;&shcy;&ocy; &pcy;&ocy;&dcy;&khcy;&ocy;&dcy;&yacy;&tcy; &dcy;&lcy;&yacy; &kcy;&ocy;&ncy;&kcy;&rcy;&iecy;&tcy;&ncy;&ycy;&khcy; &rcy;&acy;&bcy;&ocy;&chcy;&icy;&khcy; &pcy;&rcy;&ocy;&tscy;&iecy;&scy;&scy;&ocy;&vcy;; &ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &vcy; &chcy;&icy;&scy;&tcy;&ocy; &tscy;&iecy;&ncy;&tcy;&rcy;&acy;&lcy;&softcy;&ncy;&ocy;&mcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&mcy; &pcy;&rcy;&ocy;&tscy;&iecy;&scy;&scy;&iecy; (&tcy;. &iecy;. &icy;&scy;&tcy;&ocy;&chcy;&ncy;&icy;&kcy; &vcy;&ycy;&bcy;&ocy;&rcy;&kcy;&icy; &rcy;&acy;&vcy;&iecy;&ncy; &mcy;&iecy;&scy;&tcy;&ucy; &ncy;&acy;&zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy;),  <code>upstream</code> , &vcy;&iecy;&rcy;&ocy;&yacy;&tcy;&ncy;&ocy;, &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &tcy;&iecy;&mcy;, &chcy;&tcy;&ocy; &vcy;&acy;&mcy; &ncy;&ucy;&zhcy;&ncy;&ocy;. &Vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ycy;&iecy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy;:</span></p> <div> <div> <div> <ul> <li> <p><span data-i18n="71a6839038cbe14ebc0f092b41d7a439782f4c41885db48dd8821868b5d00e0a/ea" data-source="&lt;code&gt;nothing&lt;/code&gt; - do not push anything (error out) unless a refspec is given. This is primarily meant for people who want to avoid mistakes by always being explicit." onmousemove="i18n(this)"><code>nothing</code>  &mdash; &ncy;&icy;&chcy;&iecy;&gcy;&ocy; &ncy;&iecy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&tcy;&softcy; (&ocy;&shcy;&icy;&bcy;&kcy;&acy;), &iecy;&scy;&lcy;&icy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&acy; &scy;&scy;&ycy;&lcy;&kcy;&acy;. &Ecy;&tcy;&ocy; &vcy; &pcy;&iecy;&rcy;&vcy;&ucy;&yucy; &ocy;&chcy;&iecy;&rcy;&iecy;&dcy;&softcy; &pcy;&rcy;&iecy;&dcy;&ncy;&acy;&zcy;&ncy;&acy;&chcy;&iecy;&ncy;&ocy; &dcy;&lcy;&yacy; &lcy;&yucy;&dcy;&iecy;&jcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &khcy;&ocy;&tcy;&yacy;&tcy; &icy;&zcy;&bcy;&iecy;&zhcy;&acy;&tcy;&softcy; &ocy;&shcy;&icy;&bcy;&ocy;&kcy;, &vcy;&scy;&iecy;&gcy;&dcy;&acy; &vcy;&ycy;&rcy;&acy;&zhcy;&acy;&yacy;&scy;&softcy; &ocy;&tcy;&kcy;&rcy;&ocy;&vcy;&iecy;&ncy;&ncy;&ocy;.</span></p> </li> <li> <p><span data-i18n="132468c7828c4787e67c7e26fa196cabe4d7186c495b3a51f41633a98403e978/1c" data-source="&lt;code&gt;current&lt;/code&gt; - push the current branch to update a branch with the same name on the receiving end. Works in both central and non-central workflows." onmousemove="i18n(this)"><code>current</code>  &mdash; &ncy;&acy;&zhcy;&mcy;&icy;&tcy;&iecy; &tcy;&iecy;&kcy;&ucy;&shchcy;&ucy;&yucy; &vcy;&iecy;&tcy;&kcy;&ucy;, &chcy;&tcy;&ocy;&bcy;&ycy; &ocy;&bcy;&ncy;&ocy;&vcy;&icy;&tcy;&softcy; &vcy;&iecy;&tcy;&kcy;&ucy; &scy; &tcy;&iecy;&mcy; &zhcy;&iecy; &icy;&mcy;&iecy;&ncy;&iecy;&mcy; &ncy;&acy; &pcy;&rcy;&icy;&ncy;&icy;&mcy;&acy;&yucy;&shchcy;&iecy;&jcy; &scy;&tcy;&ocy;&rcy;&ocy;&ncy;&iecy;. &Rcy;&acy;&bcy;&ocy;&tcy;&acy;&iecy;&tcy; &kcy;&acy;&kcy; &vcy; &tscy;&iecy;&ncy;&tcy;&rcy;&acy;&lcy;&softcy;&ncy;&ycy;&khcy;, &tcy;&acy;&kcy; &icy; &vcy; &ncy;&iecy;&tscy;&iecy;&ncy;&tcy;&rcy;&acy;&lcy;&softcy;&ncy;&ycy;&khcy; &rcy;&acy;&bcy;&ocy;&chcy;&icy;&khcy; &pcy;&rcy;&ocy;&tscy;&iecy;&scy;&scy;&acy;&khcy;.</span></p> </li> <li> <p><span data-i18n="2ec959a1409332a4b3942aeb3e341f00bdf9c8cae5f0ea7f28be756c55ddd342/16" data-source="&lt;code&gt;upstream&lt;/code&gt; - push the current branch back to the branch whose changes are usually integrated into the current branch (which is called &lt;code&gt;@{upstream}&lt;/code&gt;). This mode only makes sense if you are pushing to the same repository you would normally pull from (i.e. central workflow)." onmousemove="i18n(this)"><code>upstream</code>  &mdash; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&icy;&tcy;&softcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&ucy;&yucy; &vcy;&iecy;&tcy;&kcy;&ucy; &ocy;&bcy;&rcy;&acy;&tcy;&ncy;&ocy; &vcy; &vcy;&iecy;&tcy;&kcy;&ucy;, &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&jcy; &ocy;&bcy;&ycy;&chcy;&ncy;&ocy; &icy;&ncy;&tcy;&iecy;&gcy;&rcy;&icy;&rcy;&ucy;&yucy;&tcy;&scy;&yacy; &vcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&ucy;&yucy; &vcy;&iecy;&tcy;&kcy;&ucy; (&kcy;&ocy;&tcy;&ocy;&rcy;&acy;&yacy; &ncy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy;&scy;&yacy;  <code>@{upstream}</code> ). &Ecy;&tcy;&ocy;&tcy; &rcy;&iecy;&zhcy;&icy;&mcy; &icy;&mcy;&iecy;&iecy;&tcy; &scy;&mcy;&ycy;&scy;&lcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &vcy; &tcy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy;, &iecy;&scy;&lcy;&icy; &vcy;&ycy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy;&iecy; &dcy;&acy;&ncy;&ncy;&ycy;&iecy; &vcy; &tcy;&ocy;&tcy; &zhcy;&iecy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;, &icy;&zcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&gcy;&ocy; &ocy;&bcy;&ycy;&chcy;&ncy;&ocy; &icy;&zcy;&vcy;&lcy;&iecy;&kcy;&acy;&iecy;&tcy;&iecy; (&tcy;. &iecy;. &tscy;&iecy;&ncy;&tcy;&rcy;&acy;&lcy;&softcy;&ncy;&ycy;&jcy; &rcy;&acy;&bcy;&ocy;&chcy;&icy;&jcy; &pcy;&rcy;&ocy;&tscy;&iecy;&scy;&scy;).</span></p> </li> <li> <p><span data-i18n="71b3eec813cf3bd9166938cd62b50eaf6d2b09faf298ab2be06d0cdd681489ca/1e" data-source="&lt;code&gt;tracking&lt;/code&gt; - This is a deprecated synonym for &lt;code&gt;upstream&lt;/code&gt;." onmousemove="i18n(this)"><code>tracking</code>  &mdash; &ecy;&tcy;&ocy; &ucy;&scy;&tcy;&acy;&rcy;&iecy;&vcy;&shcy;&icy;&jcy; &scy;&icy;&ncy;&ocy;&ncy;&icy;&mcy;  <code>upstream</code> .</span></p> </li> <li> <p><span data-i18n="b03ac7d09106e689f8b96cbc32aac988f98cc3b22ea4ccd190cb8f85f22bebfe/aa" data-source="&lt;code&gt;simple&lt;/code&gt; - push the current branch with the same name on the remote." onmousemove="i18n(this)"><code>simple</code>  - &ncy;&acy;&zhcy;&acy;&tcy;&softcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&ucy;&yucy; &ocy;&dcy;&ncy;&ocy;&icy;&mcy;&iecy;&ncy;&ncy;&ucy;&yucy; &vcy;&iecy;&tcy;&kcy;&ucy; &ncy;&acy; &pcy;&ucy;&lcy;&softcy;&tcy;&iecy;.</span></p> <p><span data-i18n="6da04b8d266fc5de1a8bb08ce36281c12983cd7fbb9f7a9724bb64f273a291f2/60" data-source="If you are working on a centralized workflow (pushing to the same repository you pull from, which is typically &lt;code&gt;origin&lt;/code&gt;), then you need to configure an upstream branch with the same name." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &vcy;&ycy; &rcy;&acy;&bcy;&ocy;&tcy;&acy;&iecy;&tcy;&iecy; &ncy;&acy;&dcy; &tscy;&iecy;&ncy;&tcy;&rcy;&acy;&lcy;&icy;&zcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&mcy; &rcy;&acy;&bcy;&ocy;&chcy;&icy;&mcy; &pcy;&rcy;&ocy;&tscy;&iecy;&scy;&scy;&ocy;&mcy; (&ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy;&iecy; &dcy;&acy;&ncy;&ncy;&ycy;&iecy; &vcy; &tcy;&ocy;&tcy; &zhcy;&iecy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;, &icy;&zcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&gcy;&ocy; &icy;&zcy;&vcy;&lcy;&iecy;&kcy;&acy;&iecy;&tcy;&iecy; &dcy;&acy;&ncy;&ncy;&ycy;&iecy; (&ocy;&bcy;&ycy;&chcy;&ncy;&ocy; &ecy;&tcy;&ocy;  <code>origin</code> ), &vcy;&acy;&mcy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ocy; &ncy;&acy;&scy;&tcy;&rcy;&ocy;&icy;&tcy;&softcy; &vcy;&ycy;&shcy;&iecy;&scy;&tcy;&ocy;&yacy;&shchcy;&ucy;&yucy; &vcy;&iecy;&tcy;&vcy;&softcy; &scy; &tcy;&iecy;&mcy; &zhcy;&iecy; &icy;&mcy;&iecy;&ncy;&iecy;&mcy;.</span></p> <p><span data-i18n="cbeb7e2546fe9e4f8db95e1684649a9efb42e9fb6ef6968202713f60dd076a86/4c" data-source="This mode is the default since Git 2.0, and is the safest option suited for beginners." onmousemove="i18n(this)">&Ecy;&tcy;&ocy;&tcy; &rcy;&iecy;&zhcy;&icy;&mcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;, &ncy;&acy;&chcy;&icy;&ncy;&acy;&yacy; &scy;  Git  2.0, &icy; &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &scy;&acy;&mcy;&ycy;&mcy; &bcy;&iecy;&zcy;&ocy;&pcy;&acy;&scy;&ncy;&ycy;&mcy; &vcy;&acy;&rcy;&icy;&acy;&ncy;&tcy;&ocy;&mcy;, &pcy;&ocy;&dcy;&khcy;&ocy;&dcy;&yacy;&shchcy;&icy;&mcy; &dcy;&lcy;&yacy; &ncy;&ocy;&vcy;&icy;&chcy;&kcy;&ocy;&vcy;.</span></p> </li> <li> <p><span data-i18n="3a7878b9c59c6562053f6063d63cb3b7f50ae84e720293224109bdfcc799f8a1/13" data-source="&lt;code&gt;matching&lt;/code&gt; - push all branches having the same name on both ends. This makes the repository you are pushing to remember the set of branches that will be pushed out (e.g. if you always push &lt;code&gt;maint&lt;/code&gt; and &lt;code&gt;master&lt;/code&gt; there and no other branches, the repository you push to will have these two branches, and your local &lt;code&gt;maint&lt;/code&gt; and &lt;code&gt;master&lt;/code&gt; will be pushed there)." onmousemove="i18n(this)"><code>matching</code>  &mdash; &ncy;&acy;&zhcy;&acy;&tcy;&softcy; &vcy;&scy;&iecy; &vcy;&iecy;&tcy;&kcy;&icy; &scy; &ocy;&dcy;&icy;&ncy;&acy;&kcy;&ocy;&vcy;&ycy;&mcy; &icy;&mcy;&iecy;&ncy;&iecy;&mcy; &ncy;&acy; &ocy;&bcy;&ocy;&icy;&khcy; &kcy;&ocy;&ncy;&tscy;&acy;&khcy;. &Ecy;&tcy;&ocy; &zcy;&acy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &vcy;&ycy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy;&iecy;, &zcy;&acy;&pcy;&ocy;&mcy;&ncy;&icy;&tcy;&softcy; &ncy;&acy;&bcy;&ocy;&rcy; &vcy;&iecy;&tcy;&vcy;&iecy;&jcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &bcy;&ucy;&dcy;&ucy;&tcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ycy; (&ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &iecy;&scy;&lcy;&icy; &vcy;&ycy; &vcy;&scy;&iecy;&gcy;&dcy;&acy; &pcy;&ocy;&mcy;&iecy;&shchcy;&acy;&iecy;&tcy;&iecy; &tcy;&ucy;&dcy;&acy;  <code>maint</code>  &icy;  <code>master</code>  &icy; &ncy;&icy;&kcy;&acy;&kcy;&icy;&khcy; &dcy;&rcy;&ucy;&gcy;&icy;&khcy; &vcy;&iecy;&tcy;&ocy;&kcy;, &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;, &vcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &vcy;&ycy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy;&iecy;, &bcy;&ucy;&dcy;&iecy;&tcy; &icy;&mcy;&iecy;&tcy;&softcy; &ecy;&tcy;&icy; &dcy;&vcy;&iecy; &vcy;&iecy;&tcy;&kcy;&icy;, &acy; &vcy;&acy;&shcy;&icy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ycy;&iecy;  <code>maint</code>  &icy;  <code>master</code>  &bcy;&ucy;&dcy;&ucy;&tcy; &pcy;&iecy;&rcy;&iecy;&bcy;&rcy;&ocy;&shcy;&iecy;&ncy;&ycy; &tcy;&ucy;&dcy;&acy;).</span></p> <p><span data-i18n="1fbdc920a03aee7ea5e173749dbd00156e1df843323495c9602690e723a618c1/bb" data-source="To use this mode effectively, you have to make sure &lt;code&gt;all&lt;/code&gt; the branches you would push out are ready to be pushed out before running &lt;code&gt;git push&lt;/code&gt;, as the whole point of this mode is to allow you to push all of the branches in one go. If you usually finish work on only one branch and push out the result, while other branches are unfinished, this mode is not for you. Also this mode is not suitable for pushing into a shared central repository, as other people may add new branches there, or update the tip of existing branches outside your control." onmousemove="i18n(this)">&CHcy;&tcy;&ocy;&bcy;&ycy; &ecy;&fcy;&fcy;&iecy;&kcy;&tcy;&icy;&vcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &ecy;&tcy;&ocy;&tcy; &rcy;&iecy;&zhcy;&icy;&mcy;, &vcy;&ycy; &dcy;&ocy;&lcy;&zhcy;&ncy;&ycy; &ucy;&bcy;&iecy;&dcy;&icy;&tcy;&softcy;&scy;&yacy;, &chcy;&tcy;&ocy;  <code>all</code>  &vcy;&iecy;&tcy;&kcy;&icy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &vcy;&ycy; &vcy;&ycy;&tcy;&acy;&lcy;&kcy;&icy;&vcy;&acy;&iecy;&tcy;&iecy;, &gcy;&ocy;&tcy;&ocy;&vcy;&ycy; &kcy; &vcy;&ycy;&tcy;&acy;&lcy;&kcy;&icy;&vcy;&acy;&ncy;&icy;&yucy; &pcy;&iecy;&rcy;&iecy;&dcy; &zcy;&acy;&pcy;&ucy;&scy;&kcy;&ocy;&mcy;  <code>git push</code>  , &pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &vcy;&iecy;&scy;&softcy; &scy;&mcy;&ycy;&scy;&lcy; &ecy;&tcy;&ocy;&gcy;&ocy; &rcy;&iecy;&zhcy;&icy;&mcy;&acy; &scy;&ocy;&scy;&tcy;&ocy;&icy;&tcy; &vcy; &tcy;&ocy;&mcy;, &chcy;&tcy;&ocy;&bcy;&ycy; &pcy;&ocy;&zcy;&vcy;&ocy;&lcy;&icy;&tcy;&softcy; &vcy;&acy;&mcy; &vcy;&ycy;&tcy;&ocy;&lcy;&kcy;&ncy;&ucy;&tcy;&softcy; &vcy;&scy;&iecy; &vcy;&iecy;&tcy;&kcy;&icy; &zcy;&acy; &ocy;&dcy;&icy;&ncy; &rcy;&acy;&zcy;. &IEcy;&scy;&lcy;&icy; &vcy;&ycy; &ocy;&bcy;&ycy;&chcy;&ncy;&ocy; &zcy;&acy;&kcy;&acy;&ncy;&chcy;&icy;&vcy;&acy;&iecy;&tcy;&iecy; &rcy;&acy;&bcy;&ocy;&tcy;&ucy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &ncy;&acy;&dcy; &ocy;&dcy;&ncy;&ocy;&jcy; &vcy;&iecy;&tcy;&kcy;&ocy;&jcy; &icy; &vcy;&ycy;&kcy;&lcy;&acy;&dcy;&ycy;&vcy;&acy;&iecy;&tcy;&iecy; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&acy;&tcy;, &acy; &dcy;&rcy;&ucy;&gcy;&icy;&iecy; &vcy;&iecy;&tcy;&kcy;&icy; &ocy;&scy;&tcy;&acy;&yucy;&tcy;&scy;&yacy; &ncy;&iecy;&zcy;&acy;&vcy;&iecy;&rcy;&shcy;&iecy;&ncy;&ncy;&ycy;&mcy;&icy;, &ecy;&tcy;&ocy;&tcy; &rcy;&iecy;&zhcy;&icy;&mcy; &ncy;&iecy; &dcy;&lcy;&yacy; &vcy;&acy;&scy;. &Tcy;&acy;&kcy;&zhcy;&iecy; &ecy;&tcy;&ocy;&tcy; &rcy;&iecy;&zhcy;&icy;&mcy; &ncy;&iecy; &pcy;&ocy;&dcy;&khcy;&ocy;&dcy;&icy;&tcy; &dcy;&lcy;&yacy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy; &vcy; &ocy;&bcy;&shchcy;&icy;&jcy; &tscy;&iecy;&ncy;&tcy;&rcy;&acy;&lcy;&softcy;&ncy;&ycy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;, &pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &dcy;&rcy;&ucy;&gcy;&icy;&iecy; &lcy;&yucy;&dcy;&icy; &mcy;&ocy;&gcy;&ucy;&tcy; &dcy;&ocy;&bcy;&acy;&vcy;&lcy;&yacy;&tcy;&softcy; &tcy;&ucy;&dcy;&acy; &ncy;&ocy;&vcy;&ycy;&iecy; &vcy;&iecy;&tcy;&kcy;&icy; &icy;&lcy;&icy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&tcy;&softcy; &vcy;&iecy;&rcy;&khcy;&ncy;&icy;&iecy; &chcy;&acy;&scy;&tcy;&icy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&khcy; &vcy;&iecy;&tcy;&ocy;&kcy; &vcy;&ncy;&iecy; &vcy;&acy;&shcy;&iecy;&gcy;&ocy; &kcy;&ocy;&ncy;&tcy;&rcy;&ocy;&lcy;&yacy;.</span></p> <p><span data-i18n="ec0f3f7e18f5ca41d89ea0e989aa603feb0051d7aaa1482f3244b5912b1dffd8/b5" data-source="This used to be the default, but not since Git 2.0 (&lt;code&gt;simple&lt;/code&gt; is the new default)." onmousemove="i18n(this)">&Rcy;&acy;&ncy;&softcy;&shcy;&iecy; &ecy;&tcy;&ocy; &bcy;&ycy;&lcy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;, &ncy;&ocy; &ncy;&iecy; &ncy;&acy;&chcy;&icy;&ncy;&acy;&yacy; &scy;  Git  2.0 ( <code>simple</code>  &mdash; &ncy;&ocy;&vcy;&ocy;&iecy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;).</span></p> </li> </ul> </div> </div> </div> </dd> <dt id="Documentation/git-push.txt-pushfollowTags"><span data-i18n="d75ddc14c8086482b2fbd5059722418d031d4060ae4f0a5c1a82446f3f981ba1/f9" data-source="push.followTags" onmousemove="i18n(this)">push.followTags</span></dt> <dd> <p><span data-i18n="9542c5b2d71cf03dbf5518e9f2a8c06b85fa8816815e279955207b7b08b853ea/b8" data-source="If set to true, enable &lt;code&gt;--follow-tags&lt;/code&gt; option by default. You may override this configuration at time of push by specifying &lt;code&gt;--no-follow-tags&lt;/code&gt;." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; true, &vcy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&iecy; &ocy;&pcy;&tscy;&icy;&yucy;  <code>--follow-tags</code>  &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;. &Vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &pcy;&iecy;&rcy;&iecy;&ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&icy;&tcy;&softcy; &ecy;&tcy;&ucy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&yucy; &vcy;&ocy; &vcy;&rcy;&iecy;&mcy;&yacy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy;, &ucy;&kcy;&acy;&zcy;&acy;&vcy;  <code>--no-follow-tags</code>  .</span></p> </dd> <dt id="Documentation/git-push.txt-pushgpgSign"><span data-i18n="b23379212a3b2c797b8f5b4a90eba115039739b8581816ed02eb895fab8b6e24/1d" data-source="push.gpgSign" onmousemove="i18n(this)">push.gpgSign</span></dt> <dd> <p><span data-i18n="1fe66a85ded5de2dd65f9c12fa01d6cdb0038a417d2f00ceaf1cedb9276222e4/74" data-source="May be set to a boolean value, or the string &lt;code&gt;if-asked&lt;/code&gt;. A true value causes all pushes to be GPG signed, as if &lt;code&gt;--signed&lt;/code&gt; is passed to &lt;a href=&quot;git-push&quot;&gt;git-push[1]&lt;/a&gt;. The string &lt;code&gt;if-asked&lt;/code&gt; causes pushes to be signed if the server supports it, as if &lt;code&gt;--signed=if-asked&lt;/code&gt; is passed to &lt;code&gt;git push&lt;/code&gt;. A false value may override a value from a lower-priority config file. An explicit command-line flag always overrides this config option." onmousemove="i18n(this)">&Mcy;&ocy;&zhcy;&iecy;&tcy; &bcy;&ycy;&tcy;&softcy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;  boolean  &icy;&lcy;&icy; &scy;&tcy;&rcy;&ocy;&kcy;&acy;  <code>if-asked</code>  . &Zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;  true  &pcy;&rcy;&icy;&vcy;&ocy;&dcy;&icy;&tcy; &kcy; &tcy;&ocy;&mcy;&ucy;, &chcy;&tcy;&ocy; &vcy;&scy;&iecy; push-&ucy;&vcy;&iecy;&dcy;&ocy;&mcy;&lcy;&iecy;&ncy;&icy;&yacy; &pcy;&ocy;&dcy;&pcy;&icy;&scy;&ycy;&vcy;&acy;&yucy;&tcy;&scy;&yacy; GPG, &kcy;&acy;&kcy; &iecy;&scy;&lcy;&icy; &bcy;&ycy;  <code>--signed</code>  &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&vcy;&acy;&lcy;&scy;&yacy; &vcy;  <a href="git-push.html">git-push[1]</a> . &Scy;&tcy;&rcy;&ocy;&kcy;&acy;  <code>if-asked</code>  &zcy;&acy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy; &pcy;&ocy;&dcy;&pcy;&icy;&scy;&ycy;&vcy;&acy;&tcy;&softcy; push-&ucy;&vcy;&iecy;&dcy;&ocy;&mcy;&lcy;&iecy;&ncy;&icy;&yacy;, &iecy;&scy;&lcy;&icy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy; &pcy;&ocy;&dcy;&dcy;&iecy;&rcy;&zhcy;&icy;&vcy;&acy;&iecy;&tcy; &ecy;&tcy;&ocy;, &kcy;&acy;&kcy; &iecy;&scy;&lcy;&icy; &bcy;&ycy;  <code>--signed=if-asked</code>  &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&vcy;&acy;&lcy;&scy;&yacy; &vcy;  <code>git push</code> . &Zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;  false  &mcy;&ocy;&zhcy;&iecy;&tcy; &pcy;&iecy;&rcy;&iecy;&ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&icy;&tcy;&softcy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; &icy;&zcy; &fcy;&acy;&jcy;&lcy;&acy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy; &scy; &bcy;&ocy;&lcy;&iecy;&iecy; &ncy;&icy;&zcy;&kcy;&icy;&mcy; &pcy;&rcy;&icy;&ocy;&rcy;&icy;&tcy;&iecy;&tcy;&ocy;&mcy;. &YAcy;&vcy;&ncy;&ycy;&jcy; &fcy;&lcy;&acy;&gcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&icy; &vcy;&scy;&iecy;&gcy;&dcy;&acy; &pcy;&iecy;&rcy;&iecy;&ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&yacy;&iecy;&tcy; &ecy;&tcy;&ocy;&tcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;.</span></p> </dd> <dt id="Documentation/git-push.txt-pushpushOption"><span data-i18n="66a4db50d5e4e08bdacedde90813e3e60cd79834ab1d0d8a06b250aad66237bc/36" data-source="push.pushOption" onmousemove="i18n(this)">push.pushOption</span></dt> <dd> <p><span data-i18n="5a62e24c2e9894bbcb08402d5ce43a3e8c28327524c9fe231ed74ef7c303f535/4c" data-source="When no &lt;code&gt;--push-option=&amp;lt;option&amp;gt;&lt;/code&gt; argument is given from the command line, &lt;code&gt;git push&lt;/code&gt; behaves as if each &amp;lt;value&amp;gt; of this variable is given as &lt;code&gt;--push-option=&amp;lt;value&amp;gt;&lt;/code&gt;." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &vcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&iecy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy; &acy;&rcy;&gcy;&ucy;&mcy;&iecy;&ncy;&tcy;  <code>--push-option=&lt;option&gt;</code> ,  <code>git push</code>  &vcy;&iecy;&dcy;&iecy;&tcy; &scy;&iecy;&bcy;&yacy; &tcy;&acy;&kcy;, &kcy;&acy;&kcy; &iecy;&scy;&lcy;&icy; &bcy;&ycy; &kcy;&acy;&zhcy;&dcy;&ocy;&iecy; &lt;&zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;&gt; &ecy;&tcy;&ocy;&jcy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&jcy; &zcy;&acy;&dcy;&acy;&ncy;&ocy; &kcy;&acy;&kcy;  <code>--push-option=&lt;value&gt;</code> .</span></p> <p><span data-i18n="ab0cd0438fdb447d41299afbc54c52d22777200f1526480bd16571cacd11f9ad/3c" data-source="This is a multi-valued variable, and an empty value can be used in a higher priority configuration file (e.g. &lt;code&gt;.git/config&lt;/code&gt; in a repository) to clear the values inherited from a lower priority configuration files (e.g. &lt;code&gt;$HOME/.gitconfig&lt;/code&gt;)." onmousemove="i18n(this)">&Ecy;&tcy;&ocy; &mcy;&ncy;&ocy;&gcy;&ocy;&zcy;&ncy;&acy;&chcy;&ncy;&acy;&yacy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&acy;&yacy;, &icy; &pcy;&ucy;&scy;&tcy;&ocy;&iecy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &vcy; &fcy;&acy;&jcy;&lcy;&iecy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy; &scy; &bcy;&ocy;&lcy;&iecy;&iecy; &vcy;&ycy;&scy;&ocy;&kcy;&icy;&mcy; &pcy;&rcy;&icy;&ocy;&rcy;&icy;&tcy;&iecy;&tcy;&ocy;&mcy; (&ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;,  <code>.git/config</code>  &vcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;) &dcy;&lcy;&yacy; &ocy;&chcy;&icy;&scy;&tcy;&kcy;&icy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&jcy;, &ucy;&ncy;&acy;&scy;&lcy;&iecy;&dcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&khcy; &ocy;&tcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy; &scy; &bcy;&ocy;&lcy;&iecy;&iecy; &ncy;&icy;&zcy;&kcy;&icy;&mcy; &pcy;&rcy;&icy;&ocy;&rcy;&icy;&tcy;&iecy;&tcy;&ocy;&mcy; (&ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;,  <code>$HOME/.gitconfig</code> ).</span></p> <div> <div> <pre class="hljs language-bash">Example:

/etc/gitconfig
  push.pushoption = a
  push.pushoption = b

~/.gitconfig
  push.pushoption = c

repo/.git/config
  push.pushoption =
  push.pushoption = b

This will result <span class="hljs-keyword">in</span> only b (a and c are cleared).</pre> </div> </div> </dd> <dt id="Documentation/git-push.txt-pushrecurseSubmodules"><span data-i18n="fe5aaf3df040491d2849fa07603a2faff1c7ea3c1f423a6ec896ccb741748c34/93" data-source="push.recurseSubmodules" onmousemove="i18n(this)">push.recurseSubmodules</span></dt> <dd> <p><span data-i18n="bcbd727fb65e4365dc715599dccc5c083f69473636007d51c4d5c17e21e0deb9/62" data-source="May be &amp;quot;check&amp;quot;, &amp;quot;on-demand&amp;quot;, &amp;quot;only&amp;quot;, or &amp;quot;no&amp;quot;, with the same behavior as that of &amp;quot;push --recurse-submodules&amp;quot;. If not set, &lt;code&gt;no&lt;/code&gt; is used by default, unless &lt;code&gt;submodule.recurse&lt;/code&gt; is set (in which case a &lt;code&gt;true&lt;/code&gt; value means &lt;code&gt;on-demand&lt;/code&gt;)." onmousemove="i18n(this)">&Ecy;&tcy;&ocy; &mcy;&ocy;&zhcy;&iecy;&tcy; &bcy;&ycy;&tcy;&softcy;  &quot;check&quot; ,  &quot;on-demand&quot; ,  &quot;only&quot;  &icy;&lcy;&icy;  &quot;no&quot; , &scy; &tcy;&iecy;&mcy; &zhcy;&iecy; &pcy;&ocy;&vcy;&iecy;&dcy;&iecy;&ncy;&icy;&iecy;&mcy;, &chcy;&tcy;&ocy; &icy; &ucy;  &quot;push --recurse-submodules&quot; . &IEcy;&scy;&lcy;&icy; &ncy;&iecy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ocy;, &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy;  <code>no</code> , &iecy;&scy;&lcy;&icy; &ncy;&iecy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ocy;  <code>submodule.recurse</code>  (&vcy; &ecy;&tcy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;  <code>true</code>  &ocy;&zcy;&ncy;&acy;&chcy;&acy;&iecy;&tcy;  <code>on-demand</code> ).</span></p> </dd> <dt id="Documentation/git-push.txt-pushuseForceIfIncludes"><span data-i18n="dcd5b99e3f6bcca7bcf94defe0e90fcfcdc602705cca48b7f9c1eb28f27332dc/59" data-source="push.useForceIfIncludes" onmousemove="i18n(this)">push.useForceIfIncludes</span></dt> <dd> <p><span data-i18n="c7c78b047359610d99bcf38fa00ca456c06ca73c343aa6109ef207de63c4a68a/1e" data-source="If set to &amp;quot;true&amp;quot;, it is equivalent to specifying &lt;code&gt;--force-if-includes&lt;/code&gt; as an option to &lt;a href=&quot;git-push&quot;&gt;git-push[1]&lt;/a&gt; in the command line. Adding &lt;code&gt;--no-force-if-includes&lt;/code&gt; at the time of push overrides this configuration setting." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;  &quot;true&quot; , &ecy;&tcy;&ocy; &ecy;&kcy;&vcy;&icy;&vcy;&acy;&lcy;&iecy;&ncy;&tcy;&ncy;&ocy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&icy;&yucy;  <code>--force-if-includes</code>  &vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &ocy;&pcy;&tscy;&icy;&icy;  <a href="git-push.html">git-push[1]</a>  &vcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&iecy;. &Dcy;&ocy;&bcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy;  <code>--no-force-if-includes</code>  &vcy;&ocy; &vcy;&rcy;&iecy;&mcy;&yacy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy; &ocy;&tcy;&mcy;&iecy;&ncy;&yacy;&iecy;&tcy; &ecy;&tcy;&ocy;&tcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;.</span></p> </dd> <dt id="Documentation/git-push.txt-pushnegotiate"><span data-i18n="051efdafef9ae8d016f9f945504f8cb231f61774cb28d6607a59dd9647d5416c/56" data-source="push.negotiate" onmousemove="i18n(this)">push.negotiate</span></dt> <dd> <p><span data-i18n="8b3a3cbb4677da1caafd358e1522c5dbf48bd61e498914fa4df00084212baf82/2d" data-source="If set to &amp;quot;true&amp;quot;, attempt to reduce the size of the packfile sent by rounds of negotiation in which the client and the server attempt to find commits in common. If &amp;quot;false&amp;quot;, Git will rely solely on the server&amp;rsquo;s ref advertisement to find commits in common." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;  &quot;true&quot; , &pcy;&ocy;&pcy;&ycy;&tcy;&acy;&jcy;&tcy;&iecy;&scy;&softcy; &ucy;&mcy;&iecy;&ncy;&softcy;&shcy;&icy;&tcy;&softcy; &rcy;&acy;&zcy;&mcy;&iecy;&rcy; &pcy;&acy;&kcy;&iecy;&tcy;&ncy;&ocy;&gcy;&ocy; &fcy;&acy;&jcy;&lcy;&acy;, &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&iecy;&mcy;&ocy;&gcy;&ocy; &vcy; &khcy;&ocy;&dcy;&iecy; &pcy;&iecy;&rcy;&iecy;&gcy;&ocy;&vcy;&ocy;&rcy;&ocy;&vcy;, &vcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&khcy; &kcy;&lcy;&icy;&iecy;&ncy;&tcy; &icy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy; &pcy;&ycy;&tcy;&acy;&yucy;&tcy;&scy;&yacy; &ncy;&acy;&jcy;&tcy;&icy; &ocy;&bcy;&shchcy;&icy;&iecy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy;. &IEcy;&scy;&lcy;&icy;  &quot;false&quot; ,  Git  &bcy;&ucy;&dcy;&iecy;&tcy; &pcy;&ocy;&lcy;&acy;&gcy;&acy;&tcy;&softcy;&scy;&yacy; &icy;&scy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy; &ncy;&acy; ref-&ocy;&bcy;&hardcy;&yacy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;&acy; &dcy;&lcy;&yacy; &pcy;&ocy;&icy;&scy;&kcy;&acy; &ocy;&bcy;&shchcy;&icy;&khcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;.</span></p> </dd> <dt id="Documentation/git-push.txt-pushuseBitmaps"><span data-i18n="93f931cf43bee99155e47024e3e9d4c312fc8faf3826eb81c855397047fa9536/8d" data-source="push.useBitmaps" onmousemove="i18n(this)">push.useBitmaps</span></dt> <dd> <p><span data-i18n="d45880abb2ef236ec1b5188fc3dbde17f2c8ccd45bbaeb8f7d2bfdf9d9b287ea/8d" data-source="If set to &amp;quot;false&amp;quot;, disable use of bitmaps for &amp;quot;git push&amp;quot; even if &lt;code&gt;pack.useBitmaps&lt;/code&gt; is &amp;quot;true&amp;quot;, without preventing other git operations from using bitmaps. Default is true." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;  &quot;false&quot; , &ocy;&tcy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&iecy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &rcy;&acy;&scy;&tcy;&rcy;&ocy;&vcy;&ycy;&khcy; &icy;&zcy;&ocy;&bcy;&rcy;&acy;&zhcy;&iecy;&ncy;&icy;&jcy; &dcy;&lcy;&yacy;  &quot;git push&quot; , &dcy;&acy;&zhcy;&iecy; &iecy;&scy;&lcy;&icy;  <code>pack.useBitmaps</code>  &mdash; &ecy;&tcy;&ocy;  &quot;true&quot; , &ncy;&iecy; &zcy;&acy;&pcy;&rcy;&iecy;&shchcy;&acy;&yacy; &dcy;&rcy;&ucy;&gcy;&icy;&mcy; &ocy;&pcy;&iecy;&rcy;&acy;&tscy;&icy;&yacy;&mcy;  git  &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &rcy;&acy;&scy;&tcy;&rcy;&ocy;&vcy;&ycy;&iecy; &icy;&zcy;&ocy;&bcy;&rcy;&acy;&zhcy;&iecy;&ncy;&icy;&yacy;. &Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &vcy;&iecy;&rcy;&ncy;&ocy;.</span></p> </dd> </dl> </div> </div><address>
<p>
    &copy; 2012&ndash;2024 Scott Chacon and others<br/>Licensed under the MIT License.<br/>
<a href="https://git-scm.com/docs/git-push">https://git-scm.com/docs/git-push</a>
</p>
</address>                </article>
            </main>

            <br>
            <br>
            <hr>

                            <ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-6424571640879890"
     data-ad-slot="3954319254"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>            
        </div>

        <!-- -->

        <div class="col-md-3">
            <br>
            <form action="-index-.html">
                <div class="input-group">
                    <input class="form-control" type="search" name="q" placeholder="Search for Git" required>
                    <button class="btn btn-primary" type="submit">
                        <i class="bi bi-search"></i>
                    </button>
                </div>
            </form>
            <br>

                            <div class="list-group list-group-flush">
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-quiltimport.html">
                            git quiltimport                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-range-diff.html">
                            git range-diff                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-read-tree.html">
                            git read-tree                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-rebase.html">
                            git rebase                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-receive-pack.html">
                            git receive-pack                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-reflog.html">
                            git reflog                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-remote.html">
                            git remote                        </a>
                                    </div>
            
            <br>
            <div class="my-3">
                   <ins class="adsbygoogle"
        style="display:block; text-align:center;"
        data-ad-layout="in-article"
        data-ad-format="fluid"
        data-ad-client="ca-pub-6424571640879890"
        data-ad-slot="3777011170"></ins>
<script>
    (adsbygoogle = window.adsbygoogle || []).push({});
</script>            </div>
            <br>

            
            
        </div>
    </div>
</div>    <!--/sse-->

    <footer>
        <br>
        <div class="container">
            <div class="row">
                <div class="col">
                    <hr>
                    <div class="row">
                        <div class="col-md-10">
                            <ul class="nav">
                                <li class="nav-item">
                                    <a class="nav-link ps-0" href="https://runebook.dev/">Help us Improve Translation</a>
                                </li>
                                                            </ul>
                        </div>
                        <div class="col-md-2 text-end">
                            <a href="git-push.html#" class="fs-5" aria-label="Top">
                                <i class="bi bi-arrow-up-square-fill"></i>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <br>
    </footer>
    <script src="../../../runebook.js"></script>
</body>

</html>